Before starting a project, I always want to figure out the best ways to organize the project - the most important concepts are: How to structure modules/components, ...
, and which suitable patterns should be use in
In React Native, the project structure, with Redux pattern, be often formed as:
- /src
- types
- constants
- components
- collection
- todolist
- settings
- etc ...
- utils
- reducers
- store.ts
- middleware.ts
- rootReducer.ts
But when transitioning from React Native to Flutter, the concepts of project structure/pattern is so different.
It seem that all our source files should be located under /lib
.
So, currently I've been facing with project structure to organize my modules/components/ ...
, and the best UI pattern
should be used in.
Could you please give me some ideas as detailed as possible?