Discover the latest features of React fiber like "Suspense"
Now using [email protected]
Still building react-cache
and scheduler
from React sources.
Installing react
and react-dom
from npm using the 16.7.0-alpha.0
version.
That way:
react-cache
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.6.0...v0.7.0
Check the demo at https://react-fiber-experiments.surge.sh/
[email protected] introduced a few changes in the Suspense APIs https://github.com/topheman/react-fiber-experiments/commit/1e1db6bd0e6d097c828f973eb1dd8d6acd933d56 :
yarn build dom-client,core,react-cache,scheduler --type=NODE
<Placeholder delayMs />
renamed to <Suspense maxDuration />
(https://github.com/facebook/react/commit/8af6728c6f105d37f9c0006288a6d1ac3903dc71 , https://github.com/facebook/react/commit/d75c69e0cf2a842adc47edab87ca5103411e6949 )createResource
becomes unstable_createResource
https://github.com/facebook/react/commit/915e4eab53e49660f2dcac7847a3a2e3d97bfc41
cache
as argument to read
https://github.com/facebook/react/pull/13865
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.5.2...v0.6.0
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.5.1...v0.5.2
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.5.0...v0.5.1
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.4.0...v0.5.0
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.3.0...v0.4.0
Same CI/CD workflow as on the topheman/npm-registry-browser project.
Full explanation of how to implement this kind of CI/CD workflow on this blog post
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.2.0...v0.3.0
Main feature: Setup cypress + widely e2e testing features - more infos in README.
📺Watch here a video of the tests running!
See the whole PR : #1
Diff: https://github.com/topheman/react-fiber-experiments/compare/v0.1.0...v0.2.0