Does zustand's persist middleware lose Date, Map, and Set types across a JSON round-trip?
A client-side draft-autosave store built with zustand's persist middleware (assuming the current 5.x line, with 4.x behaving the same) has to survive a page reload. Part of its state is not JSON-native: a last-edited Date , a Set of selected ids, and a Map used as a keyed cache. The middleware's default storage path serializes through JSON.stringify and pars