You get a bonus - 1 coin for daily activity. Now you have 1 coin

What is context? in REACT

Practice



Context provides a way to pass data through the component tree without having to pass props down manually at every level. For example, the authenticated user, the locale preference or the UI theme need to be available to many components across the application.
  1. const {Provider, Consumer} = React.createContext(defaultValue)
  2.  

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"

Terms: Scripting client side JavaScript, jqvery, BackBone