https://github.com/amannn/nextjs-bug-router-cache
https://github.com/amannn/nextjs-bug-router-cache
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/amannn/nextjs-bug-router-cache
- Owner: amannn
- Created: 2024-01-18T19:05:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-19T10:05:11.000Z (over 1 year ago)
- Last Synced: 2024-10-06T03:41:50.370Z (8 months ago)
- Language: TypeScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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. ErrorNow the error that you might see can be one of the following:
**A segment mismatch**
**Incorrectly cached page**
"Index (en)" might render (from Router Cache)