redux-first-history v4.6.0-beta.1 Release Notes
Release Date: 2020-02-02 // about 5 years ago-
- ๐ support
history
v5.0.0 ๐ support
react-router
v6.0.0 (add listenObject: true options )
๐ https://github.com/ReactTraining/react-router/releases/tag/v6.0.0-alpha.1import { createReduxHistoryContext, reachify } from "redux-first-history";import { createWouterHook } from "redux-first-history/wouter";import { createBrowserHistory } from "history";const { createReduxHistory, routerMiddleware, routerReducer } = createReduxHistoryContext({ history: createBrowserHistory(), listenObject: true, // support react-router v6.0 });export const history = createReduxHistory(store);export const reachHistory = reachify(history);export const wouterUseLocation = createWouterHook(history);
- ๐ support