Write jQuery plugins, and then compile them all into one script with the help of Webpack.
I have almost every plug-in has event. If it does not load the comp? Every plugin works on your page. There are some global plugins. For example, the plugin works on your page, then going to the other place that item on which hung the handler no longer exists, that is, the event is at idle. It is normal practice?