React JS Tutorial with Context API and Hooks

Опубликовано: 12 Октябрь 2024
на канале: Baylor Breaks It Down
2,371
47

Context API and Hooks - React JS Tutorial. We'll add user authentication to a new create-react-app project using the new Context API in React 16.8.

#javascript #react #contextapi

This is a beginner friendly tutorial to show wiring up a React Context and how to avoid passing props to child components.

We'll use the following React Hooks functions.

https://bit.ly/2J0S3Hs

createContext
useContext
useState
useEffect