danger-react-suspense
This is a custom build of React that has a few additional feature flags enabled, most notable suspense.
How to build:
- Update local fork of react with master
- Edit flags in
shared/ReactFeatureFlag.js
-
yarn build
(make sure java is set up locally🤯 ) - Copy over files from the built locations to
build/
,dev/
andprod/
dropping the prefixes as needed. - Make sure to edit local
require
calls to local ones instead of non-local versions!! yarn publish