How veersinghlodhi/react-native-app works
This is an Expo/React Native daily-tasks app. A user can review task totals on the home screen, navigate to task management, and add, complete, or delete tasks; the screens share in-memory state through a context provider. Settings is also a routed screen, but its behavior is not described here. The graph focuses on those app flows and the shared theme layer; relationships are limited to the excerpts and source-index references provided, so unsampled screen behavior is not inferred.
Main entry points: index.tsx Progress home · use-theme.ts Theme hook · TasksContext.tsx Task state · tasks.tsx Task manager
Components 11
Task app
- Progress home
src/app/index.tsx - Task manager
src/app/tasks.tsx - Settings screen
src/app/settings.tsx - App layout
src/app/_layout.tsx
Task state
- Task state
src/context/TasksContext.tsx
Shared UI
- Theme tokens
src/constants/theme.ts - Theme hook
src/hooks/use-theme.ts - Themed text
src/components/themed-text.tsx - Themed view
src/components/themed-view.tsx - External link
src/components/external-link.tsx
Other components
- User
Connections 8
- User → Progress home: opens app
- Progress home → Task state: reads task totals
src/app/index.tsx - Progress home → Task manager: navigates to
src/app/index.tsx - Task manager → Task state: manages tasks
src/app/tasks.tsx - App layout → Task state: provides state
src/app/_layout.tsx - Theme hook → Theme tokens: reads colors
src/hooks/use-theme.ts - Themed text → Theme hook: gets colors
src/components/themed-text.tsx - Themed view → Theme hook: gets colors
src/components/themed-view.tsx