Skip to content

blog.mat.tc

next.js useQueryParams

code1 min read

i wanted useState but for storing things in the query useQueryParams and everything on the internet was way too complicated as per usual.

here it is, in all it's straightforward glory