microfronts icon indicating copy to clipboard operation
microfronts copied to clipboard

support history mode location changes

Open davidmeirlevy opened this issue 5 years ago • 0 comments

I created 2 options for location changes. Provided the ability to insert a class that has the same interface, for custom changes.

Default mode given to the Router class is the current behavior, using hash changes. The second class is using '"history" mode, changing the actual URL pathname.

Developers that use it, will still need to implement the trigger because by default - popstate event doesn't get triggered by pushState events.

davidmeirlevy avatar Aug 19 '20 09:08 davidmeirlevy