In this 1-hour webinar, Mark Volkmann demonstrates how to use hooks, a new React feature that allows you to implement stateful React components with functions instead of classes.
This webinar is targeted at React developers who are interested in keeping up with the latest features being added to React.
Overview
Hooks enable developers to implement stateful React components with functions instead of classes.
Hooks are an incredibly useful new tool because they:
- Provide easier ways to work with component state and context
- Remove the need to understand the 'this' keyword
- Remove the need to understand what it means to bind a function and when to do it
- Support using "effects" in place of lifecycle methods, which makes it possible to better organize related code, such as adding/removing event listeners and opening/closing resources
- Make it easier to reuse state logic between multiple components than using higher-order components and render props
- Improve the capacity for tooling to optimize code because it is easier to optimize functions than classes
This webinar covers everything you need to know to get started using hooks in React function components.
Outline
The following topics are covered in this webinar:
- Hooks Overview
- Hook Caveats
- Hook Benefits
- Hook Rules
- ESLint for Hooks
- State Hook
- Effect Hook
- Context Hook
- Callback Hook
- Memo Hook
- React.memo Function
- Reducer Hook
- Ref Hook
- Custom Hooks
- Third Party Hooks
Upcoming Live Webinars
Event | Date | Location |
---|---|---|
Game development with Rust and the Bevy engine | 11/07/2024 | Object Computing Training Center, 12140 Woodcrest Executive Dr., Suite #300, St. Louis, MO 63141 |
Kardinal for Kubernetes - St. Louis | 11/13/2024 | Object Computing Training Center, 12140 Woodcrest Executive Dr., Suite #300, St. Louis, MO 63141 |
Java Users Meet Up | 11/14/2024 | Object Computing Training Center, 12140 Woodcrest Executive Dr., Suite #300, St. Louis, MO 63141 |
Rust Strings | 12/05/2024 | Object Computing Training Center, 12140 Woodcrest Executive Dr., Suite #300, St. Louis, MO 63141 |