Skip to content

amannn/nextjs-bug-router-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextjs-bug-router-cache

  1. Clone and run https://github.com/amannn/nextjs-bug-router-cache in dev mode
  2. Open http://localhost:3000/
  3. "Index (en)" renders
  4. Click "Go to /a"
  5. "A (en)" renders
  6. Click "Go to /"
  7. Click "Change locale to "de""
  8. "Index (de)" renders
  9. Click "Go to /a"
  10. Error

Now the error that you might see can be one of the following:

A segment mismatch

Screenshot 2024-01-18 at 20 29 48

Incorrectly cached page

"Index (en)" might render (from Router Cache)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published