Skip to content

jasonhao518/todo-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Todo MVC example

This example demonstrates how you can use SyncedStore to build a collaborative version of the Todo MVC app.

The code that sets up our store is defined in src/store.ts. By using the useSyncedStore hook, our React components (starting at src/App.tsx) are easy to read and update automatically.

Live demo

Running

npm install
npm start

🔥 Make sure to open multiple browsers to see the app syncing automatically.

Create React App

This project was bootstrapped with Create React App.