Description
Context
What's your version of nuqs
?
2.3.1
What framework are you using?
- ✅ Remix
Which version of your framework are you using?
2.15.2
Description
404 returned after clicking on a Link after a page using nuqs has been loaded. It's relatively inconsistent but downgrading nuqs to 2.2.3 and the issue goes away. I would take a punt that nuqs is plugging into a listener / event and overwriting something that remix uses behind the scenes. I originally thought it was something to do with Lazy route discover as the issue manifests in a similar way to some of the remix errors being talked about others have seen. But I disabled this flag and the 404's kept on coming before realising it only happened after visiting a page where nuqs was in use.
On a unrelated note:
I also had issue with the change in behaviour between 2.2.3 and 2.3.0 of shallow:true/false
with remix. It was basically a "breaking change" for remix apps in a "minor version" upgrade.
Reproduction
I'll work to try and do this - very busy this week - but thought I'd raise the issue here in case anyone else sees it. The solution for me was to downgrade nuqs 2.2.3 for now.