#51 Using React Context vs props | Side effect, Reducer and Context | A Complete React Course

Pubblicato il: 12 luglio 2022
sul canale di: procademy
1,815
43

In this lecture, let's briefly understand when to use react context and when to use props in a react application. We can use react context when we want to pass a state from one component to its child components, forwarding it from one child to another child. On the other hand, we can use props when we want to use a state directly inside the immediate child component.


In questa pagina del sito puoi guardare il video online #51 Using React Context vs props | Side effect, Reducer and Context | A Complete React Course della durata di ore minuti seconda in buona qualità , che l'utente ha caricato procademy 12 luglio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,815 volte e gli è piaciuto 43 spettatori. Buona visione!