Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Who is using nuqs? #519

Open
franky47 opened this issue Mar 10, 2024 · 10 comments
Open

Who is using nuqs? #519

franky47 opened this issue Mar 10, 2024 · 10 comments
Labels
internal Internal issues & discussions

Comments

@franky47
Copy link
Member

franky47 commented Mar 10, 2024

Are you using nuqs (or next-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 or next-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.

@franky47 franky47 pinned this issue Mar 10, 2024
@Kavan72
Copy link

Kavan72 commented Mar 19, 2024

We are using at our company, Lead Finder

@rwieruch
Copy link

rwieruch commented Mar 28, 2024

Will be included in the course material on The Road to Next :)

@tordans
Copy link
Contributor

tordans commented Mar 28, 2024

All of our map state ist stored using next-usequerystate (yes, we need to update … ;)) https://radverkehrsatlas.de/regionen

  • change the categories on the left
  • change the background bottom right
  • change static datasets on the left (end of list)
  • and the map view of course
  • and on the parking version of this (project page) there is a sum-tool that uses the URL

FIY: Will rewok the config part soon to create a lot smaller URLs.

@chronark
Copy link

We're using it at https://github.com/unkeyed/unkey

@reasv
Copy link

reasv commented Sep 5, 2024

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

@franky47 franky47 added the internal Internal issues & discussions label Sep 12, 2024
@mazipan
Copy link

mazipan commented Oct 25, 2024

I am currently using nuqs for the internal CMS and am very pleased with the results so far. I plan to launch nuqs on our public website soon.

By the way, I'm developing a website for the Indonesian Ministry of Education: data.kemdikbud.go.id.

@gndelia
Copy link

gndelia commented Oct 25, 2024

I work at Hemi and we are using nuqs in our portal page 😄

We are a cryptocurrency company building our L2 chain!

@MobinX

This comment was marked as off-topic.

@reasv
Copy link

reasv commented Oct 29, 2024

Hey, it is good but it making user history log a long really really as every state update create a new history entry, so it is making garbage in user device.sucks

You must be using { history: "push" } when updating the state, which adds a new history entry. Use { history: "replace"} instead which does not.

https://nuqs.47ng.com/docs/options#history

@Varkoff
Copy link

Varkoff commented Dec 18, 2024

Will definitely use nuqs at GoodCollect everywhere once it supports React Router 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal issues & discussions
Projects
None yet
Development

No branches or pull requests

10 participants