- active links
- blocking navigation
- code splitting
- data loading
- with redux
- server rendering
- side effects
- UMD (vanilla JS with <script> tags)
- updating routes
For any example that you want to run locally, you need to install its dependencies and build the bundle.
cd <example-folder> npm install
While most of these examples are client side only, they still use browser history objects, which require a server to handle dynamic requests. This directory contains a
server.js file that you can run to serve the examples.
# make sure dependencies are installed npm install # if you want to run using source code, install by # bootstrapping from the repo's root npm run bootstrap:all # build an example node build.js <example-folder> <example-type> # e.g. node build.js react/modal react # serve the example node server.js <example-folder> # e.g. node server.js react/modal