nuqs @nuqs.dev · Feb 17

✨ `parseAsIndex` parser Your UI should be consistent, and the URL is part of that. That "Page 2" button should give you `/?page=2`. But unlike humans, JS arrays (and @tanstack.com table) like counting from zero. Enter parseAsIndex, doing the translation for you.

2 likes 1 replies

?

Replies

nuqs · Feb 17

✨ The React SPA adapter now supports scroll reset, and a new option: fullPageNavigationOnShallowFalseUpdates (is the name long enough? 😅) It lets you use non-JS servers (Django, Laravel, Rails etc) to catch deep URL updates and do SSR on other parts (islands architecture).