Skip to content

React bindings for using Hyper Hyper Space objects as state in React apps.

Notifications You must be signed in to change notification settings

hyperhyperspace/hyperhyperspace-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React bindings for the Hyper Hyper Space

This library enables using HHS objects as state for React components.

Since HHS is a peer-to-peer data layer, the normal set-up is for the webapp to run a full HHS peer inside the browser. The bindings in this library give access to (parts of) your component hierarchy to such a peer, and then bind particular components to HHS live objects.

So, instead of fetching state from a server, the bound components are kept in sync with the state of the local copies of the objects, that are updated in real time by the local HHS peer.

You can see a simple example in this chat client based on HHS.

About

React bindings for using Hyper Hyper Space objects as state in React apps.

Resources

Stars

Watchers

Forks

Packages

No packages published