What is difference between React vs React Fiber?

Hoang Trung picture Hoang Trung · Jul 27, 2017 · Viewed 38.9k times · Source

I just heard that react-fiber is ready. What is the big differences between react and react-fiber? Is it worth it to learn the whole new concept for that differences ?

Answer

Santosh Shinde picture Santosh Shinde · Jul 27, 2017

React Fiber is an ongoing reimplementation of React's core algorithm, it’s just a complete internal re-write of React.

React Fiber is a complete, backwards compatible rewrite of the React core.

The goal of React Fiber is to increase its suitability for areas like animation, layout, and gestures. Its headline feature is incremental rendering: the ability to split rendering work into chunks and spread it out over multiple frames.

React Fiber is a virtual stack frame, with React Fiber being a reimplementation of a stack frame specialised for React components. Each fiber can be thought of as a virtual stack frame where information from the frame is preserved in memory on the heap, and because info is saved on the heap, you can control and play with the data structures and process the relevant information as needed.

You can find an excellent explanation from Lin Clark in this video.

For more details please check the following links ,

1.What is React Fiber ?

2.React Fiber Architecture

3.What Does React 16 Mean for You?

Hopes this will help you !!