Ecommerce filters - How should I handle this scenario? #543
Unanswered
damian-balas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :)
Could you explain how could I implement dynamic filters with nuqs?
I get my filters config from the backend. So I don't know the structure as it's dynamic. I know the values after I submit my filters.
filters form submission:
I'd like to have all those informations inside nuqs. I think I also would need to prefix somehow all of those filters. For example like this:
filters.city
,filters.type
,filters.params
so the dynamic keys won't collide with other nuqs keys that I use.Any Idea how I should handle this situation?
Thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions