From fddb23601f1a1328756bcb74da3e5bc0c7a762ba Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 2 Aug 2018 01:36:44 +0100 Subject: [PATCH] Tweak other fixture instructions --- fixtures/unstable-async/time-slicing/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/fixtures/unstable-async/time-slicing/README.md b/fixtures/unstable-async/time-slicing/README.md index 48b802c803..8d068a393b 100644 --- a/fixtures/unstable-async/time-slicing/README.md +++ b/fixtures/unstable-async/time-slicing/README.md @@ -4,23 +4,26 @@ 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. -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. +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. ## Can I use this code in production? 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. +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. + ## How do I run this fixture? ```shell # 1: Build react from source cd /path/to/react -yarn build -- dom,core,interaction,simple-cache-provider type=NODE +yarn +yarn build dom,core,interaction,simple-cache-provider --type=NODE # 2: Install fixture dependencies -cd ./fixtures/suspense/cpu/ -yarn install +cd fixtures/unstable-async/time-slicing/ +yarn # 3: Run the app yarn start -``` \ No newline at end of file +```