V
V
Vika Marmeladka2021-12-27 14:58:21
redux
Vika Marmeladka, 2021-12-27 14:58:21

How viable is my Redux Toolkit file structure?

I know toolkits have an example in the docs of how to better structure your components with their state. But I categorically do not like this solution
61c9a8a141d8c541211684.png

. Here is my solution specifically for my project: Classic crm which has several pages, for each page there is a separate folder with the appropriate name. Further, it contains all the slices, the state of which relates exclusively to a particular page. Here is an example for the "products" page:
61c9aa4b9dce0725165329.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question