zustand-querystring icon indicating copy to clipboard operation
zustand-querystring copied to clipboard

How to work with Next JS page folder?

Open stepan-twnty opened this issue 11 months ago • 1 comments

Hey

I use the page folder in Next JS and try to use this library.

It generally looks like it works but I spotted a Hydration error. I assume that query params are available only on the client side and the server returns HTML without code which depends on query params. Maybe you have some recommendations how to use this library on Next JS (except using SSR flow only static build or revalidation?

stepan-twnty avatar Jan 20 '25 20:01 stepan-twnty

@nitedani maybe you can help?

stepan-twnty avatar Jan 22 '25 10:01 stepan-twnty