vaadin / router

Small and powerful client-side router for Web Components. Framework-agnostic.
https://vaadin.com/router
Apache License 2.0
424 stars 51 forks source link

Make demos work in older browsers #173

Open vlukashov opened 6 years ago

vlukashov commented 6 years ago

As a Vaadin.Router user I want to see the live demos working in all supported browsers. As a Vaadin.Router developer I want to write demos as any other application code (i.e. using modern language features and browser APIs).

DoD:

vlukashov commented 6 years ago

One idea to consider: use StackBlitz to run live demos. It allows writing demos with modern JS and handles all browsers reasonably well. Here is one sample Vaadin.Router demo: https://stackblitz.com/edit/vaadin-router-starter?embed=1&file=index.js. Works in IE11 as well.

The running demo app can be embedded separately: https://vaadin-router-starter.stackblitz.io

The downsides of this approach are: