Getting Started
#
Install- React Hooks
- JavaScript
#
Serve Wasm ModuleReplicache uses Wasm internally. Most bundlers don't deal with this well yet, so it's easiest to just serve it as a static asset.
Copy the Replicache Wasm module to your static assets directory:
note
You should add a postinstall script to do this in your app, so that it will stay up to date when you update Replicache.
#
Client Setup- React Hooks
- JavaScript
#
Server SetupIn order to sync, you will need to implement push an pull endpoints on your server.
For detailed information, see the integration guide, or the push/pull reference docs.