-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Description
Version
6.0.0-beta.0
Test Case
Example working with Version 5.2: https://codesandbox.io/s/brave-bouman-xye62?file=/src/App.js
Example with 6.0 beta.0: https://codesandbox.io/s/friendly-wood-5tj4f?file=/src/App.js
Steps to reproduce
Using <HashRouter/> with the hashType="noslash" prop does not work in v6, only the default slash behaviour is supported in v6.
<HashRouter hashType="noslash">
<Routes basename="test">
<Route path="/">
<Home />
</Route>
</Routes>
</HashRouter>
Expected Behavior
hashType prop would be supported just like in version 5.1 as described in https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/api/HashRouter.md#hashtype-string
There are no notices about hashType being deprecated anywhere.
Actual Behavior
always behaves as with <HashRouter hashType="slash"/> which was the default behaviour.
Metadata
Metadata
Assignees
Labels
No labels