I've been testing my React.js application on internet explorer, and finding that some ES6/7 code like Array.prototype.includes()
breaks it.
I'm using create-react-app, and apparently they've chosen not to include a lot of polyfills since not everyone needs them, and they slow down build times (see for example here and here). The documentation (at time of writing) suggests:
If you use any other ES6+ features that need runtime support (such as
Array.from() or Symbol), make sure you are including the appropriate
polyfills manually, or that the browsers you are targeting already
support them.
So... what is the best way to 'manually' include them?