inertia
inertia copied to clipboard
added history event
this PR inserts a history event.
This event is executed every time before the page is loaded from window.history. The event can be stopped to prevent the component swap.
I need this or something similar as we have an Inertia.js Vue Router hybrid site. Otherwise there is no way to prevent Inertia from taking over the page change on certain pages.
Related PRs: #1367 #774