An open API service indexing awesome lists of open source software.

https://github.com/amannn/nextjs-bug-router-cache


https://github.com/amannn/nextjs-bug-router-cache

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 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)