A simple TextArea that several users can edit at the same time. Powered by React with Y.js.
Warning : This repository is a simple prototype / proof-of-concept
# install dependancies
npm install
# spawn a Y.js WebSocket Server
PORT=1234 node ./node_modules/y-websocket/bin/server.js
# start the react app
yarn start
then open two browsers at http://localhost:3000/ and start playing
- Y.js documentation
- https://github.com/yjs/yjs-demos
- Old version of Y.js with a TextArea binding which helped me a lot to understand how it works