thank you for your reply
ES6 or commonJS, both say es6 is the future, but most packages use comnonJS
0 Answer
thank you for your reply
The most commonly used modularization schemes in front end development today are ES6 modularization and CommonJS modularization. Both of these modularization schemes are widely used and have certain advantages in their respective fields.
In addition to ES6 modularity and CommonJS modularity, there are other modularity schemes such as AMD, CMD, etc. But these solutions are no longer popular in current front-end development.
In general, ES6 modularity is better than CommonJS modularity.
Currently, ES6 modularity and CommonJS modularity are both mainstream, but ES6 modularity is more popular because it is simpler, easier to understand, and easier to maintain.
这家伙很懒,什么都没留下...