Basename middleware with createConnectedRouter + createHistoryEnhancerSee original GitHub issue
How can I pass a basename other than ‘/’ to
createConnectedRouter (when using a shared Redux store)?
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
I’m reopening this so I don’t forget to fix the “dummy” case.
Ah, so I just realised it causes the above error if the
''. Sorry for that confusion. It works fine if
basename is set to another value.
So, it is possibly an error here: https://github.com/4Catalyzer/farce/blob/9d3ad263040e1c08ae10aa949064d56f34e3e21c/src/createBasenameMiddleware.js#L4