Skip to content

syncstate/react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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