@samitouri / QOS-React / commits / 95738e5cfd

Tweak fixture instructions

Dan Abramov committed Aug 2, 2018 at 01:34 UTC 95738e5cfdd0f6ee2556bb1c95d85d1ab4b35167
1 file changed +11 -4
fixtures/unstable-async/suspense/README.md
+11 -4
@@ -12,15 +12,22 @@ No. The APIs being tested here are unstable and some of them have still not been
12
13 ## How do I run this fixture?
14
15 +Clone the React repository.
16 +
17 +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`.
18 +
19 +Then follow these steps:
20 +
21 ```shell
22 # 1: Build react from source
23 cd /path/to/react
18 -yarn build -- dom,core,interaction,simple-cache-provider type=NODE
24 +yarn
25 +yarn build dom,core,interaction,simple-cache-provider --type=NODE
26
27 # 2: Install fixture dependencies
21 -cd ./fixtures/suspense/io/
22 -yarn install
28 +cd fixtures/unstable-async/suspense/
29 +yarn
30
31 # 3: Run the app
32 yarn start
26 -```
\ No newline at end of file
33 +```