React: composition vs props, useState, useReducer, context – State Management Strategies in React #1

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 …


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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » React: composition vs props, useState, useReducer, context – State Management Strategies in React #1." Fabio Biondi | Sciencx - Monday July 4, 2022, https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/
HARVARD
Fabio Biondi | Sciencx Monday July 4, 2022 » React: composition vs props, useState, useReducer, context – State Management Strategies in React #1., viewed ,<https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/>
VANCOUVER
Fabio Biondi | Sciencx - » React: composition vs props, useState, useReducer, context – State Management Strategies in React #1. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/
CHICAGO
" » React: composition vs props, useState, useReducer, context – State Management Strategies in React #1." Fabio Biondi | Sciencx - Accessed . https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/
IEEE
" » React: composition vs props, useState, useReducer, context – State Management Strategies in React #1." Fabio Biondi | Sciencx [Online]. Available: https://www.scien.cx/2022/07/04/react-composition-vs-props-usestate-usereducer-context-state-management-strategies-in-react-1/. [Accessed: ]
rf:citation
» React: composition vs props, useState, useReducer, context – State Management Strategies in React #1 | Fabio Biondi | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.