How victoreluyera/todo_crud works
This is a small React todo-list app. The browser mounts App, which owns todo and input state, loads and saves todos in localStorage, and coordinates the input and list. Users add todos through TodoInput and edit or delete them through TodoCard actions rendered by TodoList. The source excerpts show these component and storage relationships; no separate backend or other product capabilities are documented.
Main entry points: App.jsx Todo state and coordination · TodoInput.jsx Todo input · TodoCard.jsx Todo card actions · main.jsx React entry point
Components 7
App runtime
- React entry point
src/main.jsx - Todo state and coordination
src/App.jsx
Todo interface
- Todo input
src/components/TodoInput.jsx - Todo list
src/components/TodoList.jsx - Todo card actions
src/components/TodoCard.jsx
Persistence
- Browser localStorage
Other components
- User
Connections 11
- Browser localStorage → React entry point: loads page
- React entry point → Todo state and coordination: mounts
src/main.jsx - Todo state and coordination → Todo input: renders
src/App.jsx - Todo state and coordination → Todo list: renders
src/App.jsx - Todo list → Todo card actions: renders
src/components/TodoList.jsx - User → Todo input: enters todo
- Todo input → Todo state and coordination: submits todo
src/components/TodoInput.jsx - User → Todo card actions: chooses action
- Todo card actions → Todo state and coordination: requests edit or delete
src/components/TodoCard.jsx - Todo state and coordination → Browser localStorage: reads todos
src/App.jsx - Todo state and coordination → Browser localStorage: writes todos
src/App.jsx