FormidableLabs / redux-little-router

A tiny router for Redux that lets the URL do the talking.
MIT License
1.04k stars 114 forks source link

Parameter basename in function routerForBrowser does not work if it ends with a slash #273

Open ZunTzu opened 6 years ago

ZunTzu commented 6 years ago

Hi! It is probably just a matter of making the documentation more explicit. I'll let you qualify this issue. Anyway I lost a fair amount of time figuring out why my routing was not working properly. My basename was the result of an expression evaluating to "/".

andybarron commented 6 years ago

I have had this issue as well. It should at least be mentioned in the docs.