Live data from Hacker News

Ask HN: Is React 16 (“Fiber”) faster than VUE.js now?

news.ycombinator.com

1–5 of 5 posts

Re: Ask HN: Is React 16 (“Fiber”) faster than VUE.js now?

#4
I'll copy a recent comment I made on Reddit [0]:

Fiber is ultimately not about raw rendering speed. The initial improvement is about splitting up the rendering process into bite-size chunks so that the determination of what does need to change doesn't block the main thread. The rewrite of the internals also made the codebase more maintainable, and gave them a chance to implement often-requested features like returning strings or arrays from render(), as well as implementing error boundaries.

Beyond that, the React team is still experimenting with ideas to better understand what "async rendering" might actually mean, and how that might be useful. I know Andrew Clark showed off a strawman syntax called componentDidBlock that would allow a component to indicate it shouldn't render at all until a promise resolves. The "priority levels" aspect will also come into play later, so they can determine that updates from things like user input events ought to be processed first before updates from network requests.

[0] https://www.reddit.com/r/javascript/comments/77zhy4/build_a_...