Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

09 — React Todo

A full todo app demonstrating MobX with React using mobx-react-lite.

Concepts

  • observer — wraps React components to re-render when observed state changes
  • mobx-react-lite — lightweight React bindings for MobX
  • Store + React Context — inject stores via createContext + useContext (replaces the old Provider/inject pattern)
  • Computed valuescompletedCount and pendingCount derive from the todos array

Run locally

npm install
npm run dev

Open in CodeSandbox

Open in CodeSandbox