combining useContext with useReducer | React Hooks Tutorial #7

Опубликовано: 05 Ноябрь 2024
на канале: Philip Fabianek
2,029
52

In this episode of my React Hooks Tutorial, we will learn about combining the useContext and useReducer hooks. This may seem quite simple if you have a good knowledge of both hooks, but I believe it may still help some people, because this is one of the best ways of managing state in complex applications, I personally use this method in almost all of my projects.

Starting repository:

https://github.com/philipfabianek/rea...

Ending repository:

https://github.com/philipfabianek/rea...

Timestamps:

►0:00 Introduction
►0:26 Combining the useContext and useReducer hooks
►4:08 Small challenge
►4:36 Ending

Social Media:

►Twitter:   / philip_fabianek  
►LinkedIn:   / philip-fabianek  
►Website: http://www.philipfabianek.com
►GitHub: https://github.com/philipfabianek