What about Server Side Rendering?
talkohavy opened this issue · 1 comments
talkohavy commented
Is it possible / will it be possible in the future
to use redux-first-history in server side render? (and how would you do it?)
Right now you have createBrowserHistory(),
but as you know, on the server doesn't have a DOM,
so it gives the natural error of:
Error: Invariant failed: Browser history needs a DOM
salvoravida commented
you should replace createBrowserHistory with createMemoryHistory if is SSR