The index can sometimes grow to dozens of gigabytes. You can reset it using the command sudo mdutil -E / in Terminal.

Creating a store-v2 folder is easy; migrating users (developers and components) is hard. Follow this roadmap:

store-v2/ ├── slices/ # Feature-based state slices (auth, ui, cart, etc.) ├── middleware/ # Logging, persistence, analytics ├── selectors/ # Memoized, reusable selectors ├── types/ # Full TypeScript interfaces for state ├── utils/ # Immer helpers, storage wrappers └── index.ts # Store instantiation & exports