|
|
|
|
|
by throwaway77384
846 days ago
|
|
Very interesting. Another Next victim here.
One of my anecdotes is the bonkers caching / fetch deduplication. Yes, set cache: no-store. But that only works for fetch requests. If you have a 3rd party lib doing the fetching (say, Google Firestore), then you have to declare export const dynamic = 'force-dynamic' at the top of your route segment: https://nextjs.org/docs/app/api-reference/file-conventions/r... That behaviour wasn't documented when I got started with NextJS 13...imagine the fun I had trying to work out why I can't get updated data from the server. It was nuts. |
|
[1]: https://nextjs.org/docs/app/api-reference/functions/unstable...