What does HackerNews think of react-fiber-architecture?
A description of React's new core algorithm, React Fiber
If I understand correctly react elements are created in memory, and only upon "render" it is turned into the actual DOM. During render in react, it does the tree diffing and state management. Supposedly manipulating the actual DOM directly is "heavy" hence delay/pruning the virtual DOM tree first then rendering would be beneficial? Then why is it working with DOM directly is desirable? And am I right to assume that "without virtual DOM" means work with DOM directly? Someone in the comment mention that Svelte is without vDOM already. Is there some design document that I can refer to, like the reconciliation engine used in react https://github.com/acdlite/react-fiber-architecture
Start with these articles:
https://medium.com/react-in-depth/inside-fiber-in-depth-over...
https://medium.com/dailyjs/the-how-and-why-on-reacts-usage-o...
https://github.com/acdlite/react-fiber-architecture
https://www.youtube.com/watch?v=ZCuYPiUIONs
https://github.com/facebook/react/issues/7942#issue-18237349...
One could imagine a compiler that inserts a yield around the calculation done in each Elixir AST node, and/or one which allows first-class representation of React components as Elixir processes, complete with JSX-like syntax. Very interesting to think about.
[0] https://github.com/acdlite/react-fiber-architecture
EDIT: Should also add that the shared-nothing messaging model translates very well to the requirements for Web Worker interop, so you actually could get multithreading.
Now, the preference for stateless functional components that has been popularized for user code by Redux is certainly a trend, and a focus of performance attention. But that's nothing new.