Skip to content

An example to demonstrate the power of concurrent mode, react-cache and useTransition hook (experimental) in react!

Notifications You must be signed in to change notification settings

sivcan/react-concurrent-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React concurrent mode + react-cache = UX10

This project demonstrates the power of the concurrent mode in react, along with usage of react-cache to cache the results.

The project lists Dota 2 heroes for the example!

Disclaimer: The concurrent mode is still in experimental mode, so avoid using it in production apps.

Screenshots

react-cache

Usage steps

  1. Install the dependencies

yarn install

  1. Build the app

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Debugging

If you encounter an error cannot read property readContext of undefined then refer this issue for a workaround.

About

An example to demonstrate the power of concurrent mode, react-cache and useTransition hook (experimental) in react!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published