How hsai-rohit/todolist-app works
This Expo app lets a user create tasks, toggle completion, edit titles, and delete items. App.js owns task state and loads/saves it in local AsyncStorage; it also configures navigation and passes task data and callbacks to the screens. TaskListScreen handles task entry, completion, deletion, and navigation to editing; EditTaskScreen updates a task through the callback. TaskItem.js is present but is not imported by the sampled app flow. The graph reflects the excerpts and README; no external service is documented.
Main entry points: App.js App shell and state · TaskListScreen.js Task list screen · EditTaskScreen.js Task editor
Components 6
App state and storage
- App shell and state
App.js - Local task storage
App.js
Task workflows
- Task list screen
screens/TaskListScreen.js - Task editor
screens/EditTaskScreen.js
Task presentation
- Task item component
components/TaskItem.js
Other components
- User
Connections 6
- User → App shell and state: opens app
README.md - App shell and state → Task list screen: routes to
App.js - App shell and state → Task editor: routes to
App.js - App shell and state → Local task storage: loads and saves
App.js - Task list screen → App shell and state: calls task actions
screens/TaskListScreen.js - Task editor → App shell and state: submits edits
screens/EditTaskScreen.js