Egghead – Reusable State and Effects with React Hooks
Salepage : Egghead – Reusable State and Effects with React Hooks
Archive : Egghead – Reusable State and Effects with React Hooks Digital Download
Delivery : Digital Download Immediately
My newest Egghead.io course, Reusable State and Effects with React Hooks, was released this week.
Previously, you had to construct a Class Component in React to add state or side-effects. With the advent of the Hooks proposal (now in pre-release), however, you may now add state and effects to a Function Component. You can also take your hook logic and use it to create a custom hook that can be shared across your project.
Introduction to the Course
The video above is hosted on egghead.io.
The course Reusable State and Effects with React Hooks is currently available for free viewing till Sunday, December 16th. So, keep an eye out today!
Lessons
The following is a list of the lessons in this React Hooks course.
React Hooks Environment Configuration
Include the state with the usage
Hooking a React Function Component to a State
Linting may be used to help enforce rules while using React Hooks.
Add a Lifecycle Event that makes use of
Hooking an Effect to a React Function Component
To reference a DOM element or simulate an instance variable, use the React useRef Hook.
Create Custom Hooks to Allow React Function Components to Share Logic
In your React Function Component, use an existing Community Hook.
Make use of
Dispatch and Reducer Hook Actions to Update State
Make use of
Context Hook for Connecting the React Context API
PureComponent may be simulated with a React Function Component.
Make advantage of React.
Expensive Operations Memo Hook
Conclusion: Convert a Render Props Component Using a Custom React Hook
I hope you like the course and learn something new that you can use to your projects. Remember, you may view the entire course for free for the next week!
More from Categories : Other
Reviews
There are no reviews yet.