As web applications grow increasingly complex, making your web app scalable becomes of the utmost importance. Whereas in the past writing ad-hoc JavaScript and jQuery would suffice, nowadays building a web app requires a much greater degree of discipline and formal software development practices, such as: Unit tests to ensure modifications to your code don’t break existing functionality, Linting to ensure consistent coding style free of errors, Production builds that differ from development builds.
Full article