Open franky47 opened 6 months ago
We are using at our company, Lead Finder
Will be included in the course material on The Road to Next :)
All of our map state ist stored using next-usequerystate (yes, we need to update … ;)) https://radverkehrsatlas.de/regionen
FIY: Will rewok the config part soon to create a lot smaller URLs.
We're using it at https://github.com/unkeyed/unkey
Using it for most of the state in https://github.com/reasv/panoptikon-ui (new WIP frontend for https://github.com/reasv/panoptikon)
Storing complex state with multiple objects that have overlapping key names as well as nested objects was a bit of a challenge, but I solved it by writing wrappers around nuqs' useQueryStates
and createSearchParamsCache
that add transparent scoping of properties under a given namespace while returning them unscoped:
https://github.com/reasv/panoptikon-ui/blob/master/lib/state/nuqsScopedWrappers/scopedQueryStates.ts
Are you using
nuqs
(ornext-usequerystate
) in your project? Showcase it here!The docs landing page scrapes the GitHub dependents page and shows the 100 most starred public repos that use
nuqs
ornext-usequerystate
, but I'm sure there are other folks out there that have made good use of it.I'll start with the use-case that started this project: my woodworking dovetail designer (source). Fun fact: I've never actually used it to measure and cut dovetails, but it was a nice weekend project.