Hooks are a new feature and let you use state and other React features without writing a class. Hooks (also called React Hooks) are available from the v16.8.0 React release and are backward-compatible.
This course will help you get up-and-running with the latest feature that all React and non-React users are talking about: React Hooks. You'll learn how to use them in a practical way while building a React application. Then you'll learn how to break down complex components into smaller functions with the help of Hooks. You'll access state and lifecycle Hooks in a React function component. We cover the different Hooks available and you'll see how to create your own custom Hooks. We'll also cover the rules that govern using Hooks in your applications and their advantages.
By the end of the course, you'll be confident enough to use React Hooks to simplify the way you write your React code.
What You Will Learn
- Understand why the adoption of React Hooks will be so beneficial to your React development
- Learn how React Hooks, far from causing any disruption, can easily be adapted as an opt-in and backward-compatible feature for existing apps
- See how to avoid unwieldy hierarchies in your React projects
- Break new ground in sharing and reusing state and side-effect logic wherever needed
- Discover that Hooks will make newcomers (and even experienced developers) feel much more productive and efficient; they will face challenges with greater confidence after completing this course
About The Author
Victor Kane: Victor Kane is a seasoned, full-stack web application engineer and architect with more than 45 years' experience. He has been involved with React Hooks right from its inception and has been focusing on lean agile web app projects and team mentoring for well over a decade. His expertise as a leading process engineer and system architect is underpinned by his agile approach to web application development based on best-of-class frameworks and tools, and he has been increasingly focusing on his mentoring services related to continuous improvement-driven approaches to web development. Victor loves the feeling of working in a great team in which everyone shares their knowledge freely, and he applies this kind of atmosphere to both mentoring and course development.
He has always had a great feeling for where the industry is going and loves sharing new-found skills and knowledge with those around him and watching teams grow in the wake of their achievements. Victor feels everyone following his courses and participating in his mentoring is on the same team!
Table of contents
Chapter 1 : Excited About Thinking in React, Again
- Course Overview
- Thinking in React – Whip Up the App Via create-react-app
- Thinking in React – What Is Irritating and Bothersome About All This?
- Problem One: "Wrapper Hell" – Solved with Hooks
- Problem Two: Can't Use Easy Function Components – Solved with Hooks
- Thinking in React Again, with Hooks – a Cleaner, More Accessible React
- Chapter 2 : Grokking and Owning State in Function Components
- Chapter 3 : Grokking and Owning Side Effects in Function Components
- Chapter 4 : Yes You Can! Roll Your Own Custom Hooks
- Chapter 5 : Real World - Get Started with a Gatsby Web App Based on React Hooks
- Chapter 6 : Real World - Complete Our Gatsby Web App Based on React Hooks
- Title: Hands-On React Applications with React Hooks
- Release date: August 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838649333
You might also like
The Complete React Developer Course (with Hooks and Redux)
The Complete React Developer Course (with Hooks and Redux) starts with the fundamentals and covers everything …
Learn React Hooks
Create large-scale web applications with code that is extensible and easy to understand using React Hooks …
React Hooks in Action
Build stylish, slick, and speedy-to-load user interfaces in React without writing custom classes. React Hooks are …
React and Libraries: Your Complete Guide to the React Ecosystem
Harness the power of React and the related libraries that you need to know to deliver …