Update fixture instructions

This commit is contained in:
Dan Abramov
2018-08-03 01:56:03 +01:00
committed by GitHub
parent b565f49531
commit 261da3f0a9
+6 -2
View File
@@ -14,9 +14,13 @@ No. The APIs being tested here are unstable and some of them have still not been
Clone the React repository.
Open `packages/shared/ReactFeatureFlags.js` locally (make sure you didn't open a similarly named file!) and set [the `enableSuspense` flag](https://github.com/facebook/react/blob/d79238f1eeb6634ba7a3df23c3b2709b56cbb8b2/packages/shared/ReactFeatureFlags.js#L19) to `true`.
First, open this file locally:
Then follow these steps:
* `packages/shared/ReactFeatureFlags.js` (make sure you didn't open a similarly named file!)
Set [the `enableSuspense` flag](https://github.com/facebook/react/blob/d79238f1eeb6634ba7a3df23c3b2709b56cbb8b2/packages/shared/ReactFeatureFlags.js#L19) to `true` and save the file.
**After you've done that,** follow these steps:
```shell
# 1: Build react from source