Remove template boilerplate (sample SVGs, test IPC message, comments), add react-router-dom v7 with createHashRouter, scaffold home and chat pages using @multica/ui components, and add READMEs for desktop, ui, and store packages documenting import conventions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
496 B
Markdown
17 lines
496 B
Markdown
# @multica/store
|
|
|
|
Zustand state management for Multica apps.
|
|
|
|
## Usage
|
|
|
|
```tsx
|
|
// From barrel
|
|
import { useHubStore, useMessagesStore, useGatewayStore } from '@multica/store'
|
|
|
|
// Per-file subpath import
|
|
import { useGatewayStore } from '@multica/store/gateway'
|
|
import { useHubStore } from '@multica/store/hub'
|
|
import { useMessagesStore } from '@multica/store/messages'
|
|
import { useHubInit } from '@multica/store/hub-init'
|
|
import { useDeviceId } from '@multica/store/device-id'
|
|
```
|