Simplifying the purpose of the loader

Loaders work best when they perform a simple and clear task. This can make the job of maintaining each loader simpler, and also permits chaining for use in more complex tasks. This is because there may be many different loaders specific to the different tasks; so, to allow versatility, they are often used in sequence.

Therefore, much as with Webpack bundles, they should be modular. Therefore, the specific task they perform can be isolated and refined, which will also allow more ubiquitous application when used in a chain with other loaders. This brings us to the next concept: the chaining of a loader.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.77.71