This content originally appeared on DEV Community and was authored by Fabio Biondi
In many blogs, on twitter and communities, discussions about the best state management techniques in React are very frequent.
For this reason I decided to prepare this video by creating a short guide to analyze the most common strategies for local and global state management in React applications.
TOPICS:
00:00 Introduction
00:53 Drilling Props
01:49 Composition
02:47 useReducer
03:57 Context
05:36 multiple Context
06:24 nested Context & useReducer
🔗 Follow me on:
This content originally appeared on DEV Community and was authored by Fabio Biondi
Fabio Biondi | Sciencx (2022-07-04T23:40:15+00:00) React: composition vs props, useState, useReducer, context – State Management Strategies in React #1. Retrieved from https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.