Hacker News new | ask | show | jobs
by root_axis 2983 days 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."

1 comments

That is what dynamic scope is, and javascript doesn't have it, but ClojureScript does, and React still breaks it.
I'm sorry but you're not making any sense. What does the react context api have to do with dynamic scoping?