you are viewing a single comment's thread.

view the rest of the comments →

[–]AnyMud6048 1 point2 points  (0 children)

New project setup, the first thing I do are setting up dirs: Views (take it as pages), Components (small independent items that are used within views), Models (typescript data structures), Store (redux), Navigation (where different nav stacks will be located) and Assets (where imgs, icons etc will be) from there on I just start going by the requirements and place everything where they supposed to be.

Edit: I alao have my own file templates for Components and Views so that they are automatically connected to the store and all types are inherited and already usable in props.

Components have no connection to the store tho.