Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 492 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 492 Bytes

SyncState React

Introduction

@syncstate/react lets your React components read data from a SyncState store and dispatch actions to the store using hooks.

Provider

See here for usage.

useDoc()

See here for usage.

Example

A basic Todo example demonstrating the use of Provider and useDoc