Skip to content

icyJoseph/react-cache-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Slicing

A small react study, which uses a try-catch block to mock a React Fiber, that tries to shows asynchronously obtained data, and catches when the data is not preset in a cache.

When the catch happens, a fallback is shown and the data is fetched from the network.

Once the data arrives, the data is placed in the cache, the Fiber re-renders the component and adds it to the DOM.

This project uses Parcel to put together a react app.

Releases

No releases published

Packages

No packages published