Open AhmedElbohoty opened 3 weeks ago
Hi @AhmedElbohoty
Thank you for the suggestion.
I'm not sure the suggested directory structure simplifies the organiztion.
ticker
directory also has actions, reducers and models. Should we also move it inside store
? But then, most of the directories will be inside the store
directory ending up with almost similar directory structure like now but nested inside the store
directory.options/validate-options.ts
and ticker/ticker.ts
. This can be confusing.store
directory to be simple giving an overview of how everything works, and then the implementation of each slice stays near the related logic.These are just personal preferences. Thank you for understanding.
I'm submitting a ...
Summary
While documenting the app, I identified some changes that could enhance its organization. I recommend moving all reducers and actions into the store directory. When I initially explored
src/lib
, I found it a bit frustrating due to the many folders likecontainer
,data
, andoptions
, which only contains reducers and actions are outside store directory. Therefore, I suggest relocating these directories to the store and renaming them tocontainer-slice
,data-slice
, andoptions-slice
.Since all the model files contain only types, I suggest renaming them to
types.ts
.@hatemhosny