docs: add entries for state sync

This commit is contained in:
Richard 2024-02-27 22:22:38 -08:00
parent 17a8c48e54
commit 23dc1ad855

View file

@ -83,6 +83,18 @@ Charm = "littensy/charm@VERSION"
### `useSetAtom(atom)` ### `useSetAtom(atom)`
---
### `sync.client(options)`
### `Client.sync(payload)`
### `sync.server(options)`
### `Server.onSync(callback)`
### `Server.hydrate(player)`
## 🚀 Examples ## 🚀 Examples
### Counter atom ### Counter atom