-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
pinterest/teletraan
#1117Description
Would a React context-like feature ever be added?
Context is an implicit way to pass down data from a component without having to pass them through props on every level.
https://facebook.github.io/react/docs/context.html
It's generally not a good idea to use context for application-specific logic, but it's very useful for objects like stores.
Currently working on a helper mixin that achieves something similar, but would prefer to see this baked in the core.
OEvgeny, chillax, jaredramirez, mehwww, willemvb and 9 more