Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 820 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 820 Bytes

IO "suspense" demo

What is this fixture?

This is a demo application based on Dan Abramov's recent JSConf Iceland talk 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.

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.

How do I run this fixture?

# 1: Build react from source
cd /path/to/react
yarn build -- dom,core,interaction,simple-cache-provider type=NODE

# 2: Install fixture dependencies
cd ./fixtures/suspense/io/
yarn install

# 3: Run the app
yarn start