v5.0.7
- restored internal rr6 support (react-router v6.1.1)
rr6 support :
import { HistoryRouter as Router } from "redux-first-history/rr6";
import { Route, Routes, Navigate } from "react-router-dom";
//...
import { store, history } from "./store";
//...
<Router history={history}>
<Routes>
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/" element={<Home />} />
<Route path="*" element={<Navigate to="/" />} />
</Routes>
</Router>
demo rr6 here: https://codesandbox.io/s/redux-first-history-demo-rr6-uccuw