Skip to content

joy-of-react/lazy-loading-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy Loading in React

This repository shows the code used in the “Lazy Loading” lessons of The Joy of React.

The relevant files are:

  • The root page.js, which shows a conditionally-rendered math equation
  • the latex-editor/page.js, which shows an immediately-rendered and editable math equation

Note that both of these examples use React.lazy() instead of Next's dynamic() function because we haven't yet covered dynamic(). In a real application, I recommend using dynamic() instead.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published