Tomorrow on stream I'll be unveiling a new @nuqs.dev API.
Your URL state is about to become much cleaner, type-safe, and easier to scale.
10am CET.
twitch.tv/francoisbest
Tomorrow on stream I'll be unveiling a new @nuqs.dev API.
Your URL state is about to become much cleaner, type-safe, and easier to scale.
10am CET.
twitch.tv/francoisbest
π¦ nuqs@2.8.9 is out! π
It fixes a warning in @nodejs.org 25 related to localStorage access on the server (TIL Node.js is adding this API π).
You can now enable debug logs server-side with the env var DEBUG="nuqs" (or any string that contains it).
Try it out: pnpm add nuqs@latest
Type-Safe URL State Management with @francoisbest.com! The URL is a powerful hidden state manager. Learn to use nuqs for type-safe URL state with teleportation and time travel capabilities.
Watch the talk: https://gitnation.com/contents/type-safe-url-state-management-in-react-with-nuqs
?n=u&q=s - Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.8 is out! π
π It fixes a bug with @nextjs.org app router where URL state would leak during navigation (destination page pre-rendered with the source page's search params).
Try it out: pnpm add nuqs@latest
?n=u&q=s - Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.7 is out! π
π It fixes a bug with @reactrouter.com 6/7 & @remix.run with Link & Back navigation, where the source page would briefly re-render with the destination URL state before unmounting.
Try it out: pnpm add nuqs@latest
π¦ #WORKSHOP DAY - Just Confirmed π
π¨π»βπ» Level Up Your URL State In Next.js With @nuqs.dev π¨π»βπ»with @francoisbest.com
Learn More & Save Your Seat NOW!
β οΈLimited Seats
ππΌ react.paris
?n=u&q=s, Type-safe search params state manager for React 10,000 stars on GitHub: 47ng/nuqs
nuqs has reached TEN THOUSAND STARS π€―
Insane. Thank you so much, y'all! π«Ά
The @nuqs.dev types in TypeSlayer π
Happy new year! ππ
2025 was an incredible year for @nuqs.dev, but the best part was the friends we made along the way. π«Ά
Happy new year! π₯
π£ on Tuesday stream we'll be adding an e2e test suite for the @nuqs.dev Waku adapter targeting v1@alpha.
This is the "graduation ceremony" towards becoming the 8th official adapter! πβ©οΈ
A Christmas-themed AI-generated artwork of the nuqs logo. The ? is a candy cane, the n is wrapped in lights, the = is a pair of logs covered in snow, the u is filled with baubles, the & is a wreath, the q has a santa hat and a glowing star atop, the = is two candy canes, and the s is another wreath. A lit up Christmas tree and snowflakes in the background
Merry Christmas everyone! ππ π
nuqs - Type-safe search params state manager for React Cypress β‘οΈ Claude β‘οΈ Playwright
I tried Claude Code this weekend to rewrite the @nuqs.dev e2e test suite from Cypress to Playwright.
LoC wise, this was a 80% π€ / 20% π¨βπ»
But prep was about 80% π§ / 20% π€
I prepared a few example tests, shared abstractions and metadata (deps, config) by hand, and left the grunt work to the bots.
?n=u&q=s - Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.6 is out! π
Type-level bug fix: the `LoaderOptions` type was deprecated in favour of `CreateLoaderOptions`, which wasn't exported (it is now).
Try it out: pnpm add nuqs@latest
Here is the revised « why choose nuqs? » section in a clean, Markdown-formatted table, ready for you to copy and paste directly into your dev.to blog post. ## Why choose nuqs?
I see a lot of AI slop articles about @nuqs.dev on LinkedIn, but this one tops it all. π€¦ββοΈ
The article also ends up with the usual follow-up: "would you like to add any other sections to the blog post, such asβ¦" π«
<download icon> 40M
nuqs has reached 40M downloads (all-time) π
Thank you all! π«Ά
πΊ Video is up! In 1h30 we built a @nuqs.dev adapter for @redwoodjs.com, with:
- Client hook (read + write)
- Server-side loading
- Declarative client/server state location (with the shallow option)
- Full type-safe linking (pathname + search params)
Code & links in the description β¬οΈ
nuqs - Type-safe search params state manager for React Workshops Levelling up your team's URL state managment COMING SOON
Coming next year: @nuqs.dev workshops.
I come to your company (in person or remote), and:
- Evaluate how your app could improve with URL state
- Show you how to use nuqs efficiently for your domain
- Level up your team with best practices
Interested? DMs are open.
?n=u&q=s - Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.5 is out! π
It fixes a bug with useQueryStates where passing undefined for a key would try and serialise it.
- undefined means "leave as-is"
- null means "remove from the URL"
- any other value sets the state & updates the URL
Try it out: pnpm add nuqs@latest
Fun fact: @nuqs.dev means βWhat!?β in Klingon π
?n=u&q=s Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.4 is out! π
It removes the "use client" directive from .d.ts files, which could cause issues when "skipLibCheck" wasn't set in your @typescriptlang.org config.
It also fixes an internal script to build the repo on Windows.
Try it out: pnpm add nuqs@latest
?n=u&q=s - Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.3 is out! π
π It fixes a bug where the processUrlSearchParams middleware wasnβt called on debounced updates.
Try it out: pnpm add nuqs@latest
π¦ nuqs@2.8.2 is out! π
Just a little internal fix on detecting multiple versions being loaded at the same time (very rare).
Most importantly, it adds @dominikdoesdev.bsky.social & databuddy.cc to the sponsors list π
Try it out: pnpm add nuqs@latest
This Friday @reactadvanced.gitnation.org London, I got to see @francoisbest.com's talk on #nuqs for the second time! The last time was actually his first talk at @forkit.community Rouen 2024.
Inspiring to see how far he's come πβοΈ and to witness the crowd react with such amazement!
Congrats man!
we all love @nuqs.dev π
thank you @francoisbest.com for supporting @pkg.pr.new.
and a huge shoutout to @ariperkkio.dev for suprising me with this one.
I'm signing the @opensourcepledge.com, it's time to give back to the maintainers of the projects @nuqs.dev depends on.
I just gave 2700β¬ ($3,212) to 18 maintainers & projects I use, love, and want to support.
Happy Thanksgiving! π
nuqs.dev/blog/open-so...
Join the @reactadvanced.gitnation.org live stream on Friday 28th! π£οΈπ
reactadvanced.com
?n=u&q=s Type-Safe Search Params State Manager for React npm i pnpm add yarn add bun add nuqs@latest
π¦ nuqs@2.8.1 is out! π
π It fixes two bugs with @tanstack.com Router:
- Trailing slash is no longer added on state updates
- Custom history.state is maintained
Try it out: pnpm add nuqs@latest
What other libraries have you used to manage state in your apps? nuqs
The State of React survey is out!
π survey.devographics.com/en-US/survey...
You know what to do π
I have an idea for my @reactadvanced.gitnation.org talk that would requiring building and shipping a new feature in @nuqs.dev next week (so I can actually rehearse with it).
Conference-driven development is real.
Yesterday I quietly released @nuqs.dev 2.8.0
No big new feature, but a widening of the SemVer range for react-router{-dom} to include v5, as I need it in a client project.
Might be removed in nuqs@3.0.0, we'll see how support goes.
The adapter can be installed with the @shadcn.com CLI: