Shims, Shivs and Polyfills
Shims and shivs are small libraries that fill gaps in a platform
- Mainly used when API changes and cause compatibility issues
- The older API can still be supported by a thin compatibility layer on top of the newer code
Polyfills are similar concept to shims/shivs
- They provide fallback functionality for features still not implemented natively in the browser
- When the user update their browser they will have the same experience, but use native implementation