Skip to content

Refactor Zustand stores to use slices pattern for modularity #398

@Smartdevs17

Description

@Smartdevs17

Description

Stores have grown large and mix concerns. Refactor to use Zustand slices pattern for better separation of concerns and testability.

Acceptance Criteria

  • Store split by domain (subscription, wallet, notification, etc.)
  • Slices with clear interfaces
  • Cross-slice communication via events or selectors
  • Store test coverage >80%
  • Performance benchmark (selector optimization)
  • Migration guide for existing store consumers

Technical Scope

  • src/store/
  • Edge: circular slice dependencies, selector recomputation, store hydration ordering

Metadata

Metadata

Labels

200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveIssues in the Drips Wave programhighHigh complexity issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions