Common code for building accessible SPA router wrappers.
For IE support you will need to polyfill Map. Using core-js:
import "core-js/es6/map";
If you use the smoothScroll
option of RouterSettings
, you may want to use iamdunstan’s smoothscroll polyfill. See MDN’s scrollIntoView
browser compatibility.