Compared to polyfills, shims are more generic and not necessarily restricted to HTML, CSS, and JavaScript. Shims use their own API to do their job while polyfills can be simply loaded and would silently do their job and work.
Compared to polyfills, shims are more generic and not necessarily restricted to HTML, CSS, and JavaScript. Shims use their own API to do their job while polyfills can be simply loaded and would silently do their job and work.