I will be introducing the concepts of React Hooks. I’ll show you how these concepts work in different situations. File size: 367.96MB
Egghead – Reusable State and Effects with React Hooks
Previously, to add a state or side-These effects are in React You would need to create a Class component. However, with The introduction of the Hooks proposal (currently in pre-Released), you can now add state and Effects to a Function component You can also extract your hook logic and Create a custom Hook that can be shared throughout your app.
Download immediately Egghead – Reusable State and Effects with React Hooks
As I introduce the concepts React Hooks. I’ll be applying these concepts in various demos so you can see how they apply to different scenarios. I will be converting Class Components into Function Components, so you can see how each relate to each other.-other.
You’ll be able to:
Run (and Skip to side-Effects with The useEffect hook
Create a custom hook to share logic within your app
API for Simplifying the Context with The useContext hook
Update state with Use the useReducer hook for dispatch actions
Optimize Components with UseMemo