New Features
Last updated
Was this helpful?
Last updated
Was this helpful?
tree shaking
react hook
react fragment
real-time applications
context is like a global value
use context.provider, then use this.context to get it
.When React renders a component that subscribes to this Context object it will read the current context value from the closest matching Provider
above it in the tree.
Context.Provider
Context.Consumer