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

A Zustand middleware that syncs the store with the querystring.

Results 4 zustand-querystring issues
Sort by recently updated
recently updated
newest added

My app has a very simple usage of this library where it stores the "search" query from a search box. The store is set up like this: ``` const useShopStore...

When I changed the value, I found that the url had not changed, but when the page was refreshed, the value was still there, and neither session nor local strorage...

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...

Feature idea: Make the encoding/decoding logic separate from core: ```ts import create from "zustand"; import { querystring } from "zustand-querystring"; import urlon from "zustand-querystring/encoding/urlon"; import url from "zustand-querystring/encoding/url"; import base64...