3 ms·
the es5 build will reach less and less users over time, but it has no cost for other users or even the developer. Load it with a script nomodule tag and you alw
by zdunn 5y ago
the es5 build will reach less and less users over time, but it has no cost for other users or even the developer. Load it with a script nomodule tag and you always have a JS fallback that covers weird edge cases like the one described in the article.
And building with the right HTML foundation, means you have a fallback for any breaking javascript, that will cover even more edge cases.
- azangru 5y ago> Load it with a script nomodule tag and you always have a JS fallback that covers weird edge cases like the one described in the article. I'm confused. How would this have helped the author's mom who is stuck on Chrome 76? Chrome 76 is modern enough to have ignored the script nomodule, but too old to understand the optional chaining operator.
- zdunn 5y agoYou're right, my bad. I was getting ahead of my self. The JS fallback covers older, non-evergreen browsers and the HTML fallback covers everything (including the described issue)