Now many frameworks can realize component development
, such as vue, react, etc., but these require compilation tools to implement, and to learn these frameworks, how to achieve componentization in the traditional jquery era developing.
淡淡烟草味2017-07-03 11:42:36
In the jQuery era, use module loaders such as require.js and sea.js. You can read Teacher Ruan’s article: http://www.ruanyifeng.com/blo...
伊谢尔伦2017-07-03 11:42:36
In the traditional jquery era, each of our components was implemented using jquery plug-ins. A component is a jquery plug-in. For DOM-driven frameworks like jQuery, at that time, I thought it was too cumbersome.