healthyregions / SDOHPlace

Landing page and data discovery application for SDOH Place Project.
https://sdohplace.org
GNU General Public License v3.0
1 stars 1 forks source link

Implement `nuqs` #235

Closed mradamcox closed 3 months ago

mradamcox commented 3 months ago

Currently we have a couple different hand-rolled strategies for persisting page state through URL params. nuqs looks like a very good, NextJS-specific library for doing exactly that, so we should overhaul the current setup to use it throughout.

To start, we'll just replace the search query param, show param, and layers params. Once this is done and #234 is complete, we can use nuqs to implement the sort and filter params as well.