framework
framework copied to clipboard
Prompt widget for routing that renders a prompt before a route has transitioned
Enhancement
Add a new widget that can be used to render a view before a route transition has been completed based on a predicate. The render function would receive two functions that can be used to abort or continue the route transition.
For window reload/refresh, will need to use onbeforeunload and this only support the native browser confirm dialog.