Skip to content

How can I recognize history type ("WebHistory" or "WebHashHistory") of a router instance? #1858

Closed Answered by posva
cssmagic asked this question in Help and Questions
Discussion options

You must be logged in to vote

There is no way to recognize this as history is instantiated outside of the router now. What you could do is let the user pass what version of the history they are using or take control over router creation to pass the options you want.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants