Answer the question
In order to leave comments, you need to log in
How do you organize the code on the front?
Hello!
I got a project that was carried out by several generations of programmers. The guys used everything they could. vanilla js, jquery, backbone, knokout and finally angular.
Looking at all this diversity, the question arises - how best to organize it so that it does not hurt so excruciatingly?
How do you organize code on the frontend? What do you use, collect, where do you store?
Answer the question
In order to leave comments, you need to log in
How do you organize code on the frontend? What do you use, collect, where do you store?
vanilla js + jquery and vanilla js + angular will be sources of hard-to-debug memory leaks, so if possible, it's better to throw out this noodles and write from scratch on what you know. For refactoring, for sure, time will be killed more than just doing it all over again.
By assembly: webpack + commonJS modules
I recommend to look at what code architecture popular yeoman generators offer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question