4 ms·
Can you say what changes would be required in React for this to work? I assume that you are asking for parent components to be on the stack when child component
by spicyj 10y ago
Can you say what changes would be required in React for this to work? I assume that you are asking for parent components to be on the stack when child components render, but that is simply not how React works – you return a description of what you want to render then React calls into the children. How could the parent be on the stack?
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.
- dustingetz 10y ago> but that is simply not how React works ... React calls into the children That's not how function components work, and i can easily imagine how to get lifecycle methods back (including optimizations) on function components
- spicyj 10y agoPlease open an issue with more details about the changes you'd like and tag me in it.