nitedani/zustand-querystring

Null values are not initialised properly from query string

Opened this issue · 1 comments

When setting values to null, they don't get added to the query string so when you refresh the page they get reinitialised back to their default value. Is there a way around this?

Note: I am currently on v0.0.20-beta.0 because I prefer the older readable style of query param

When setting values to null, they don't get added to the query string so when you refresh the page they get reinitialised back to their default value. Is there a way around this?

This feels like a bug. Let me investigate.

Note: I am currently on v0.0.20-beta.0 because I prefer the older readable style of query param

#12