Back to Browse

React Context API with Hooks - React Tutorial

3.6K views
Oct 6, 2020
25:28

Learn to use the Context API with hooks in react to manage global state. Using the useContext and createContext hooks. Then implement custom hooks to interact with the context and perform actions. Also a short demo on how to make a API request and cache that data within the context state. API link: https://jsonplaceholder.typicode.com/ API Endpoint: https://jsonplaceholder.typicode.com/todos Sandboxlink: https://codesandbox.io/s/musing-snyder-tqlum?file=/src/index.js

Download

1 formats

Video Formats

360pmp440.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

React Context API with Hooks - React Tutorial | NatokHD