React Hooks in Function Components
Offered By: egghead.io
Course Description
Overview
React hooks can be used to add state to functional components, as well as replace the lifecycle methods that only class methods had available until now.
This playlist goes through several different hooks available now in React, as well as how to make your own custom hooks!
This playlist goes through several different hooks available now in React, as well as how to make your own custom hooks!
Syllabus
- Rewrite a React Component Class to use the useState Hook Instead of Local State
- Create a Custom Hook in React by Wrapping useState
- Use React Hooks Correctly by Following The Two Rules of Hooks
- Use the useEffect React Hook Instead of the componentDidMount Lifecycle Method
- Pass Data Between React Components with the useContext Hook
- Use a Reducer in a Functional Component with the useReducer Hook in React
- Cache Computed Values for Better Performance with the useMemo React Hook
- Get a Reference to a DOM Element in React with the useRef Hook
Taught by
Chris Achard
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX