React Context API tutorial. Redux killer.

Опубликовано: 20 Февраль 2025
на канале: Travels Code
1,271
27

React Context provides a way to pass data through the component tree without having to pass props down manually at every level.
This tutorial will help you to start your work with React Context API and hooks useState and useReducer. We will use approach with useReducer hook. It's more similar to Redux approach. Also, when you use Context API, you don't need Redux at all. This new feature completely killed Redux.

Links from tutorial:
ContextAPI documentation - https://reactjs.org/docs/context.html
Create React App - https://github.com/facebook/create-re...

Let's be friends:
INSTAGRAM ↣   / travels_code  
TWITTER ↣   / travelscode  
FACEBOOK ↣   / travelscode  
WEB-SITE ↣ http://travelscode.com/
GITHUB ↣ https://github.com/MaksymRudnyi/

#React #ContextAPI