by spicyj · 10y ago · 0 comments
If you were to use dynamic scope, how would the variables be restored if one of the descendants updated via setState? It doesn't seem to me like it would work.
Also, not sure what "context hacks" you mean or what "web worker call stack serialization" is.
The problem with React Context is that it bypasses the general solution offered at language layer for a react-specific solution, essentially breaking any code written without prior knowledge of React.
If you have a concrete suggestion for something we could change in React I'd be happy to chat about it. I'd love to support CLJS better.
That's not how function components work, and i can easily imagine how to get lifecycle methods back (including optimizations) on function components