Research notes and discoveries for the contraction timer project.
src/components/- Reusable UI componentssrc/context/- State management (ContractionContext)src/types/- TypeScript definitionssrc/utils/- Helper functions (storage, formatting)src/screens/- App screens
interface Contraction {
id: string;
startTime: number; // Unix timestamp
endTime: number | null; // null if ongoing
}START_CONTRACTION- Begin timingEND_CONTRACTION- Stop timingCLEAR_HISTORY- Clear all dataLOAD_CONTRACTIONS- Load from storage
- React Native + Expo SDK 52
- TypeScript (strict mode)
- AsyncStorage for persistence
- React Context + useReducer for state
[Add discoveries here as you explore]
[Document any API findings]
[Note code patterns to follow]
- [Add questions as they arise]