OMAR
Put Filter State in the URL, Not in useState
← All Notes
Frontend04 August 2026 · 3 min read

Put Filter State in the URL, Not in useState

If a filtered view cannot be bookmarked, shared or reloaded, it is a bug — not a design choice. nuqs makes the URL the state, with types.

ReactStateSEO

Need this built properly?

I build secure, fast, bilingual platforms for clients across Egypt, Saudi Arabia, the UAE and Kuwait.

Keep Reading