Components organisation: UI vs business components #1078
-
Hi there! I've searched but couldn't find any suitable answer. How do you organise your components so you can easily distinguish components by type?
We've tried to split components in dedicated directories but I'm not sure this is the best way to handle them:
What do you do on your projects? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Over at @raisedevs, we're rolling Atomic Design. We currently aim to have all five levels of Atomic Design covered by components, with a module namespace for each - #618 ought to make it easier to do that once it's solved. There are some components that aren't really designed to be reused, so in those cases, they get namespaced under the view they're used in. I appreciate the idea of concern-related components, but I don't see an obvious place that they'd play into this. I suppose they'd be molecules, most often. |
Beta Was this translation helpful? Give feedback.
-
https://viewcomponent.org/best_practices.html#two-types-of-viewcomponents is our official guidance on this topic ❤️ |
Beta Was this translation helpful? Give feedback.
https://viewcomponent.org/best_practices.html#two-types-of-viewcomponents is our official guidance on this topic ❤️