From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Benefits of structured stores

Benefits of structured stores

Welcome back, let's discuss the benefits of structured stores. The number one benefit is easier scaling. As your features are going to grow and you have taken a right decision of setting up a correct project structure at the start of the project, then as soon as your project starts to scale, you won't have any issues growing it. You can just add a feature or domain into the application and you can structure it accordingly. You can define a clear ownership of the teams that owns specific slices. For example, a user management or user-based domain can go to a specific team of maybe one or two people and the other team can handle on accounts. This also improves maintainability and readability of the code. So you won't have hard time finding out or figuring out a specific piece of logic. And it also works well with code splitting and lazy loading concepts. So basically there are concepts where we can split our code and do lazy loading of data and we are going to learn that very soon in…

Contents