Q. Using vanilla javascript without any frameworks - what is a pattern for large scale component based architecture?
I understand the idea of components being split out into individual sections, and having their own structure, methods and api. However I don't know how to tie it all together. Where does the business logic reside? How do you structure the project, where do you include all the methods etc.
My experience is monolithic whereby everything is coupled too tightly. Any clarification on this would be much appreciated, feels like I'm running around in circles.
Note: When I'm talking about component based architecture, I'm referring to this idea