score:1

Accepted answer
import { Router, useRouterHistory } from 'react-router'
import { createHashHistory } from 'history'

const appHistory = useRouterHistory(createHashHistory)({ queryKey: false })
<Router history={appHistory} />

Related Query

More Query from same tag