Webpack is not the only module binder. If you choose to use webpack or one of the following bundles, here we compare how webpack is fighting with the current competitor for each feature.
The main difference between module loading and bundling is very important. Tools such as SystemJS (under the JSPM engine) are used to load and convert modules into the browser at run time. This is quite different from webpack, and modules are converted (via "loader") and bundled before pressing the browser.
Each method has its own advantages and disadvantages. Loading and converting modules at runtime can add significant overhead to applications consisting of large sites and large numbers of modules. Therefore, SystemJS is suitable for small projects that require fewer modules. However, this can change as HTTP / 2 speeds up the transfer of files from the server to the client. Please note that HTTP / 2 does not change anything about the conversion module. The conversion module will take longer when the client completes.
The difference between JavaScript's "triple" comparison operator (===,! ==) and the double comparison operator (==,! =) Is that the double comparison operator implicitly converts an operand It is to compare. Instead of performing a type conversion using a triple operator comparison (that is, to equalize the operands, the values are equal and the types must be the same). A lot of things can be said about this topic yet, but the short and important answer here is that strict use is a way to automatically implement the parsing and error handling of JavaScript code at run time. Otherwise code errors that are ignored or fail silently will generate an error or throw an exception. Generally speaking, this is a good habit.
According to the theory of social comparison, not all comparisons are equal. When we compare ourselves with people who are superior to ourselves, an upward comparison will be made. Downward judgment judges our experience by comparing them to worse people. One person involved us in the self-doubt whirlpool, and others made us appreciate us for our blessings. "Once negative ideas become reality, it becomes difficult to dispatch, unconstrained brains need ideas to stick to it, and deleting ideas normally leaves a vacuum that makes the same emotions The spectrum idea is filled soon - the other is that the world seems to be collapsing when the world is in a dark place You are swallowed one at a time by a negative thought Vacuum is a happy idea to confirm that there is no room for another negative person to enter. "~ Google G's Chief Operating Officer, Mo Gawdat Solving Happiness Problems