-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
P1High priorityHigh priorityfeatureNew feature requestNew feature requestinsuranceInsurance module relatedInsurance module relatedpracticeLearning/practice taskLearning/practice task
Description
Goal
Practice Zustand state management by implementing an insurance form CRUD feature.
Learning Objectives
- Create a Zustand store with state and actions
- Use selectors for optimized re-renders
- Implement CRUD operations (Create, Read, Update, Delete)
- Practice the store → selector → component → action flow
Suggested Implementation
- Create
stores/insuranceStore.tsfollowingtaxModeStore.tspattern - Build form components that use the store
- Add persistence with
zustand/middlewareif needed
Reference
- Existing stores:
src/stores/taxModeStore.ts,src/stores/personFilterStore.ts - Zustand docs: https://docs.pmnd.rs/zustand
Created as a learning exercise for Zustand practice
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High priorityHigh priorityfeatureNew feature requestNew feature requestinsuranceInsurance module relatedInsurance module relatedpracticeLearning/practice taskLearning/practice task