React Fiber is an ongoing reimplementation of React's core algorithm. It is the culmination of over two years of research by the React team.
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.
Other key features include the ability to pause, abort, or reuse work as new updates come in; the ability to assign priority to different types of updates; and new concurrency primitives.
some hints on what we could get as new features (mostly marked with unstable_... for now)
- git clone https://github.com/facebook/react
- gulp react:extract-errors (i've added an npm script to avoid installing gulp globally)
- npm run build
- use
react.js
/react-dom-fiber.js
in the/build
folder
- the 'official' example
- or the modularized / ES2015 version
- infinite scrolling pattern by @threepointone
Fiber isn't completely ready yet http://isfiberreadyyet.com/.
Scheduled for release in 16.0.0 / 17.0.0 ? (see Dan's comment below)
- The React team's Facebook is using Fiber by default. / source
- http://isfiberreadyyet.com/ is using Fiber / source / code
thanks @threepointone for the build steps