Is it bad to use just one controller for the bulk for your SPA?
atomize your app. each controller should only have code for 1 set of functionality.
It really depends on the project and the dimensions of it. My personal approach is always to split every project in to the smallest pieces "atomizing". This way you prevent redundancy and you can scale it easier afterwards. I hope this helps you :)
Fakiolas Marios
Full-stack JavaScript lover, happy husband, proud father π - Head of Web & Frontend at @omilialtd
Fakiolas Marios
Full-stack JavaScript lover, happy husband, proud father π - Head of Web & Frontend at @omilialtd
What do you mean? You have all your SPA inside 1 controller? Am i wrong?