Skip to content

Minimal dependency-free showcase for code-splitting in Vite.js (v2) + React

Notifications You must be signed in to change notification settings

mindreframer/vitejs-react-bundle-split-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal dependency-free showcase for code-splitting in Vite.js (v2) + React

  • uses convention to load pages (/pages/Page*.tsx)
  • generates the pagesMap.ts file (to keep the mapping automated) - yarn gen:pageMap
  • provides a loading component

Useful links:

Alternatives, that did not work out (still useful to see the concepts)

⏳ A higher order component for loading components with promises.

About

Minimal dependency-free showcase for code-splitting in Vite.js (v2) + React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published