4

I'm using Zustand for state management. Currently, I have 20 slices. And I'm afraid the number of slices will triple. What would be the best approach, splitting one really large state into slices or creating multiple stores (and splitting each one of them into slices if needed)? What are the pros and cons of each approach for a large state?

ellis
  • 181
  • 10

0 Answers0