javascript - How to implement component development in front-end development?
習慣沉默2017-07-03 11:40:36
0
3
932
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.
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.
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...
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.
Just search on Baidu and you will know