@samitouri / QOS-React / commits / fddb23601f

Tweak other fixture instructions

Dan Abramov committed Aug 2, 2018 at 01:36 UTC fddb23601f1a1328756bcb74da3e5bc0c7a762ba
1 file changed +8 -5
fixtures/unstable-async/time-slicing/README.md
+8 -5
@@ -4,23 +4,26 @@
4
5 This is a demo application based on [Dan Abramov's](https://github.com/gaearon) recent [JSConf Iceland talk](https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-16.html) about React.
6
7 -It depends on a local build of React and enables us to easily test async and "suspense" APIs in a more "real world app" like context.
7 +It depends on a local build of React and enables us to easily test async "time slicing" APIs in a more "real world app" like context.
8
9 ## Can I use this code in production?
10
11 No. The APIs being tested here are unstable and some of them have still not been released to NPM. For now, this fixture is only a test harness.
12
13 +There are also known bugs and inefficiencies in master so **don't use this fixture for demonstration purposes either yet**. Until they are fixed, this fixture is **not** indicative of React async rendering performance.
14 +
15 ## How do I run this fixture?
16
17 ```shell
18 # 1: Build react from source
19 cd /path/to/react
18 -yarn build -- dom,core,interaction,simple-cache-provider type=NODE
20 +yarn
21 +yarn build dom,core,interaction,simple-cache-provider --type=NODE
22
23 # 2: Install fixture dependencies
21 -cd ./fixtures/suspense/cpu/
22 -yarn install
24 +cd fixtures/unstable-async/time-slicing/
25 +yarn
26
27 # 3: Run the app
28 yarn start
26 -```
\ No newline at end of file
29 +```