Answer the question
In order to leave comments, you need to log in
How to decide on the structure of components?
How to make the right decision in choosing the structure of the components, namely their nesting, parent and child inside.
What principles should be followed and when should dynamic components be applied?
How to be sure that set A should be in component B if these are different entities.
For example, a map opens on the product page who bought this product, should I place the list of buyers as a component in the product component in this case?
Answer the question
In order to leave comments, you need to log in
For myself, I do this:
- what is used when navigating through the route is the pages component
- page elements: these are those that can be reused on this or other pages, they are all in the component folder of the module
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question