Skip to content

roine/example-react-async-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No more loading of page missing data. Wait for the data to be fetched before loading the next page.

The Demo can be found on codesandbox.io.

This is not a library, this a proof of concept.

The main caveat is that this does not loads the post on initial page load at the moment, see todo for fixing it.

Todo:

  • Create an init function in each page which should be called on page transition or initial page load;
  • Do not execute the init function if we're already on the page.

Hope this helps. Pull Requests welcome.

About

This is an example of implementing react async routing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published