redux-p2p
redux-p2p is a library to replicate redux actions peer to peer that works on the browser and on node. It's scalable since it uses a gossip protocol to propagate all actions instead of doing a full mesh.
Features
- scalable
- secure
Install
npm install --save redux-p2p
Usage
Options
store
id
wrtc
tail = false
maxPeers = Infinity
peerMetadata = {}
topology = true
actionFilter = /.*/
Actions
Examples
A P2P chat app on Can exchange files Works on node
On examples folders there are
How it works
A video is available here
There is also a blog post here
Related
- hyperlog
- stream-teleport
caiogondim.com · GitHub @caiogondim · Twitter @caio_gondim