@syncstate/react
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @syncstate/react

Weekly Downloads

2

Version

0.7.0

License

MIT

Unpacked Size

27 kB

Total Files

29

Last publish

Collaborators

  • sanketsahu
  • himanshu-satija