Discussion: File structure for components #2844
lindapaiste
started this conversation in
General
Replies: 1 comment
|
Hi @lindapaiste, This is a crucial discussion, and I appreciate you initiating it. Component organization is often a challenge, and having a consistent structure is essential for maintainability. Well I have some thoughts on the questions you've raised:
Considering these factors, a hybrid approach might also be beneficial. For instance, having a general I'd love to hear what others think and if there's a preference for a particular structure based on practical experience. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Sometimes I'm not sure which directory is the best place to put a component so I'd love to open a discussion on this! I think no one has really been sure. As a result, there's not a concrete or consistent explanation for where everything is placed right now.
We have multiple folders for components:
/client/common/client/components/componentsfolders in each "module". For example,/client/modules/User/componentsand/client/modules/IDE/componentsQuestions to consider when placing a component:
Header) or is it "atomic" (like theButton)?All reactions