Folder structure. #3
Replies: 4 comments 24 replies
-
I think this folder structure is great https://maxrozen.com/guidelines-improve-react-app-folder-structure |
Beta Was this translation helpful? Give feedback.
-
If there's no specific folder structure preference, I think it would be good using the admin panel template's structure |
Beta Was this translation helpful? Give feedback.
-
@n-igarashi @yukinoda @yannde I have made a little example here https://www.npmjs.com/package/@luanvuvt/eslint-config-react |
Beta Was this translation helpful? Give feedback.
-
Since there's still an ongoing discussion, I left a comment. 😄 In my experience, the structure based on e.g.
As projects become larger, it becomes more difficult to maintain an easy-to-understand structure, but surprisingly, this method seems to make it easier to maintain. (It also seems good to thoroughly review the naming of filenames and folder names.) refs. https://www.joshwcomeau.com/react/file-structure/ As a suggestion, I've thought about the structure of the final generated boilerplate as follows, and I'd like to discuss it when you have time.
|
Beta Was this translation helpful? Give feedback.
-
env, asset, route, store etc.
Beta Was this translation helpful? Give feedback.
All reactions