react-router icon indicating copy to clipboard operation
react-router copied to clipboard

chore: Compatible with createRouter where basename does not start with /

Open nanianlisao opened this issue 8 months ago • 6 comments

I'm not sure if this is a side effect of #8861, it works fine when I use the HashRouter parameter basename as "app1".

So I'm hoping that when I switch to createHashRouter, the basename will still support "app1", rather than requiring me to change it to "/app1".

I sincerely hope that this feature can get your approval.

nanianlisao avatar Jun 17 '24 12:06 nanianlisao