3 ms·
This is totally incorrect. Context has nothing to do with JavaScript scoping behavior. Directly from the React documentation: "Context provides a way to pass d
by root_axis 9y ago
This is totally incorrect. Context has nothing to do with JavaScript scoping behavior. Directly from the React documentation:
"Context provides a way to pass data through the component tree without having to pass props down manually at every level."
- dustingetz 9y agoThat is what dynamic scope is, and javascript doesn't have it, but ClojureScript does, and React still breaks it.
- root_axis 9y agoI'm sorry but you're not making any sense. What does the react context api have to do with dynamic scoping?