I am transferring a PHP framework to JavaScript. In PHP, I have one file per class and so when transferring it over, I am also creating one file per JavaScript class.
However, unlike with PHP, with so many JavaScript files, this will reduce the loading time of my page (I plan to have 30+ classes).
I like to have one class per page simply because when developing it is easier to navigate around my framework.
What is the best approach to keep this ease of development yet not have so many javascript files that the HTML page has to load?