multica/packages/store
Naiyuan Qing 5f367fb6b7 fix(web): replace Zustand device store with local useDeviceId hook
Move device ID logic from @multica/store (Zustand persist) into a
simple useDeviceId hook in the web app. SSR returns empty string,
client reads/writes localStorage directly — no hydration mismatch,
no suppressHydrationWarning needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 22:16:54 +08:00
..
src fix(web): replace Zustand device store with local useDeviceId hook 2026-01-30 22:16:54 +08:00
package.json fix(web): replace Zustand device store with local useDeviceId hook 2026-01-30 22:16:54 +08:00
tsconfig.json feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00