-
Describe the bug or question The following code removes the bug, but does not allow to sync router with history.
To Reproduce Expected behavior The following code can check that popstate is from SingleSPA, but I don't know how to stop ReactRouter from receiving it
Given ReactRouter team will likely just close such issue, I hope to try something here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Luckily router accepts optional window object which is used internally.
|
Beta Was this translation helpful? Give feedback.
Luckily router accepts optional window object which is used internally.
This is enough to make it ignore popstate event