redux-first-routing icon indicating copy to clipboard operation
redux-first-routing copied to clipboard

Invariant Violation: Browser history needs a DOM

Open RyanThomas95 opened this issue 7 years ago • 1 comments

Hello! I have tried to add this line of code to my store.js file: const history = createBrowserHistory(); But when I do, I get this error: Invariant Violation: Browser history needs a DOM Any ideas, tips?

RyanThomas95 avatar Feb 08 '18 02:02 RyanThomas95

Are you using SSR? The server router can't use browser history.

jpmarra avatar Feb 27 '18 16:02 jpmarra