mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
docs: add entries for state sync
This commit is contained in:
parent
17a8c48e54
commit
23dc1ad855
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -83,6 +83,18 @@ Charm = "littensy/charm@VERSION"
|
|||
|
||||
### `useSetAtom(atom)`
|
||||
|
||||
---
|
||||
|
||||
### `sync.client(options)`
|
||||
|
||||
### `Client.sync(payload)`
|
||||
|
||||
### `sync.server(options)`
|
||||
|
||||
### `Server.onSync(callback)`
|
||||
|
||||
### `Server.hydrate(player)`
|
||||
|
||||
## 🚀 Examples
|
||||
|
||||
### Counter atom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue