I think itโs very natural to think the way you do it makes sense, because you have more control over the code and it is cleaner, but you have to be very careful, as many said, the problem with circular links can be a big problem.
The solution to this problem is that when you have an object A related to B, and B - A, then in one of the two objects you will have to choose not to display the object directly, otherwise you will end the cycle.
When you have everything in one area, the definition of circular links becomes impossible because you need the original definition of B to add a link to A, so the solution I just mentioned is a natural way to do this with this approach.
It is up to you and your application, the approach you want to use, which is best for you and your team. You must choose between possible errors and clean code.
clopez
source share