State Management and Data Flow
Overview
Store Structure
src/store/
├── index.ts # Store configuration and setup
├── hooks.ts # Custom hooks for Redux
├── wallet.ts # Wallet-related utilities
└── slices/ # Redux slices
├── walletSlice.ts # Wallet state management
└── alertSlice.ts # Alert/notification systemStore Configuration
Slices
Wallet Slice (walletSlice.ts)
walletSlice.ts)Alert Slice (alertSlice.ts)
alertSlice.ts)Custom Hooks
Best Practices
Type Safety
Testing
Next Steps
Additional Resources
Last updated