multica/apps/web
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
..
app fix(web): replace Zustand device store with local useDeviceId hook 2026-01-30 22:16:54 +08:00
public Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
.gitignore Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
components.json refactor(ui): reorganize components into ui/ subdirectory and share layout 2026-01-30 11:34:09 +08:00
eslint.config.mjs Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
next.config.ts feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00
package.json fix(web): replace Zustand device store with local useDeviceId hook 2026-01-30 22:16:54 +08:00
postcss.config.mjs refactor(web): update imports to use @multica/ui package 2026-01-30 11:34:05 +08:00
README.md Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
tsconfig.json feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.