How quitlightfe/flashcards works
This is a small React flash-card study app. The browser entry renders the app shell, which mounts the card experience. That experience loads a fixed question-and-answer set, tracks the current card and whether its answer is visible, and computes progress. Users reveal or hide answers, move between cards, or select a position on the progress bar. The source excerpts show these component connections; no persistence or external service is evidenced.
Main entry points: FlashCards.tsx Flash Cards · Navigation.tsx Card Navigation · Progress.tsx Progress Bar · App.tsx App Shell
Components 7
App Runtime
- React Entry
src/main.tsx - App Shell
src/App.tsx
Study Experience
- Flash Cards
src/components/FlashCards.tsx - Card Navigation
src/components/Navigation.tsx - Progress Bar
src/components/Progress.tsx
Study Content
- Question Set
src/data/questions.ts
Other components
- Browser User
Connections 9
- React Entry → App Shell: renders
src/main.tsx - App Shell → Flash Cards: renders
src/App.tsx - Flash Cards → Question Set: loads
src/components/FlashCards.tsx - Flash Cards → Card Navigation: renders with controls
src/components/FlashCards.tsx - Flash Cards → Progress Bar: renders with status
src/components/FlashCards.tsx - Browser User → Card Navigation: uses controls
src/components/Navigation.tsx - Card Navigation → Flash Cards: dispatches actions
src/components/Navigation.tsx - Browser User → Progress Bar: selects position
src/components/Progress.tsx - Progress Bar → Flash Cards: changes current card
src/components/Progress.tsx