3 ms·
> Others may choose to use a bundler to concatenate all of the JavaScript files into one or two packages, and load them asynchronously to avoid these problems,
by darth_mastah 9y ago
> Others may choose to use a bundler to concatenate all of the JavaScript files into one or two packages, and load them asynchronously to avoid these problems, typically leading to a SEO-unfriendly Single-Page Application primed for Front-end SPOF.
Shortsighted as I am, I struggle to see how fetch-inject guards against SPOF?
Having said that, I can see how this library could be useful for projects with no bundler.
- jhabdas 9y agoIt helps guard against SPOF by enabling the application to load in smaller pieces, helping guard against not just SPOF in the front-end but also SPOF in the development pipeline when a left pad makes your bundler stop working.