realdah / redux-share-examples

Share redux state across the network between clients and servers!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redux Share Examples

  /$$$$$$  /$$
 /$$__  $$| $$
| $$  \__/| $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$
|  $$$$$$ | $$__  $$ |____  $$ /$$__  $$ /$$__  $$
 \____  $$| $$  \ $$  /$$$$$$$| $$  \__/| $$$$$$$$
 /$$  \ $$| $$  | $$ /$$__  $$| $$      | $$_____/
|  $$$$$$/| $$  | $$|  $$$$$$$| $$      |  $$$$$$$
 \______/ |__/  |__/ \_______/|__/       \_______/

/!\ It is highly experimental. /!
See the video presentation

Redux share is a middleware for redux to stream actions via a websocket between one or several clients and a server. It allows you to develop realtime, collaborative applications and games.

It uses a server and a client.

To see an example with a React implementation, go to: react-redux-share-example

Dev mode: Use local version of the repo

If you wish to use your own modified client and server instead of the github one.

| redux-share-server/.git
| redux-share-client/.git
| redux-share-examples/
                      simple-client/
                      simple-server/

You can run in each example folder:

$npm run local

This mechanism works with symbolic link. Delete and re-run to revert back to the official version of the server and client.

About

Share redux state across the network between clients and servers!


Languages

Language:JavaScript 87.5%Language:Shell 12.5%