How bharathravelli-419/todo-react-app works
This is a small React to-do list. The browser entry point renders the app, which keeps open and completed tasks in component state. Users add tasks, edit or delete open tasks, mark them complete, and undo completion; the app updates the lists and passes their contents and handlers to the UI components. The README identifies the product but documents no further capabilities. The graph reflects the sampled source; it shows no persistence or external services.
Main entry points: App.tsx Task State and App · InputBox.tsx Add Task Input · OpenTasks.tsx Open Tasks List · OpenTask.tsx Open Task Item
Components 8
App and State
- Task State and App
src/App.tsx
Task Interface
- Add Task Input
src/components/InputBox/InputBox.tsx - Open Tasks List
src/components/OpeneTasks/OpenTasks.tsx - Open Task Item
src/components/OpeneTasks/OpenTask.tsx - Completed Tasks
src/components/CompletedTasks/CompletedTasks.tsx
App Shell
- React Entry
src/main.tsx - Header
src/components/Header/Header.tsx
Other components
- Browser
Connections 10
- Browser → React Entry: loads app
src/main.tsx - React Entry → Task State and App: renders
src/main.tsx - Task State and App → Header: renders
src/App.tsx - Task State and App → Add Task Input: renders and passes handler
src/App.tsx - Add Task Input → Task State and App: submits task
src/components/InputBox/InputBox.tsx - Task State and App → Open Tasks List: passes tasks and handlers
src/App.tsx - Open Tasks List → Open Task Item: renders items
src/components/OpeneTasks/OpenTasks.tsx - Open Task Item → Task State and App: invokes task handlers
src/App.tsx - Task State and App → Completed Tasks: passes tasks and handler
src/App.tsx - Completed Tasks → Task State and App: requests undo
src/components/CompletedTasks/CompletedTasks.tsx