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.
KISS.
Should've been a different product.
[1]: https://nextjs.org/docs/app/api-reference/functions/unstable...
This is pretty important for things like sessions with httpOnly cookies. And it forces you make an API call to yourself to resolve.
If only this had been brought to their attention recently with a bunch of good-faith discussion.
This is why you don’t use VC backed dependencies that are not easy to move away from.
now you can simply use the full power of Vite, which means you aren't locked into Remix having to make choices for you.
This is the 3rd time they migrated the underlying tech though, first it was rollup, then esbuild, and now Vite, which is effectively rollup again. I hope they stick with Vite for the foreseeable future though
I’m ashamed to say this took way too long to get working nicely. It was worth it because our linting otherwise went crazy over misuse of Link and anchor, and people on the team weren’t respecting it. This made it so we could say “only use Link” and make it easy for that to be accomplished.
Trust me, it’s way easier to get stuff done with Next :)
Once you get past the day or three spent making it so links do what you wish they did… And you discover it handles cache headers differently than it’s supposed to… And middleware doesn’t work in several contexts with no explanation… And on and on.