Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@lagunovsky/redux-react-router
Advanced tools
A Redux binding for React Router v6, based on Connected React Router
Synchronize router state with redux store through uni-directional flow (i.e. history -> store -> router -> components).
Supports React Router v6 and History v5
Supports functional component hot reloading while preserving state.
Dispatching of history methods (push
, replace
, go
, goBack
, goForward
) works for both redux-thunk
and redux-saga.
Nested children can access routing state such as the current location directly with react-redux
's connect
.
Supports time traveling in Redux DevTools.
TypeScript
Redux React Router requires React 16.8, React Redux 6.0, React Router 6.0 or later.
$ npm install --save @lagunovsky/redux-react-router
Or
$ yarn add @lagunovsky/redux-react-router
See the examples folder
Note: the history
object provided to router
reducer, routerMiddleware
, and ReduxRouter
component must be the same history
object.
FAQs
A Redux binding for React Router v6
The npm package @lagunovsky/redux-react-router receives a total of 26,755 weekly downloads. As such, @lagunovsky/redux-react-router popularity was classified as popular.
We found that @lagunovsky/redux-react-router demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.