Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connected-react-router

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connected-react-router - npm Package Compare versions

Comparing version 6.4.0 to 6.5.0

6

FAQ.md

@@ -9,3 +9,3 @@ # Frequently Asked Questions

- [How to support Immutable.js](#how-to-support-immutablejs)
- [How to migrate from v4 to v5](#how-to-migrate-from-v4-to-v5)
- [How to migrate from v4 to v5/v6](#how-to-migrate-from-v4-to-v5v6)
- [How to use your own context with react-redux](#how-to-use-your-own-context-with-react-redux)

@@ -258,4 +258,4 @@

### How to migrate from v4 to v5
It's easy to migrate from v4 to v5.
### How to migrate from v4 to v5/v6
It's easy to migrate from v4 to v5/v6.
1. In your root reducer file, instead of exporting a root reducer, you need to export a function accepting a `history` object and returning a root reducer with `router` key. The value of the `router` key is `connectedRouter(history)`.

@@ -262,0 +262,0 @@

{
"name": "connected-react-router",
"version": "6.4.0",
"version": "6.5.0",
"description": "A Redux binding for React Router v4 and v5",

@@ -38,3 +38,3 @@ "main": "lib/index.js",

"react": "^16.4.0",
"react-redux": "^6.0.0",
"react-redux": "^6.0.0 || ^7.1.0",
"react-router": "^4.3.1 || ^5.0.0",

@@ -67,6 +67,6 @@ "redux": "^3.6.0 || ^4.0.0"

"react": "^16.4.0",
"react-dom": "^16.0.0",
"react-redux": "^6.0.0",
"react-dom": "^16.4.0",
"react-redux": "^6.0.0 || ^7.1.0",
"react-router": "^4.3.1 || ^5.0.0",
"react-test-renderer": "^16.0.0",
"react-test-renderer": "^16.4.0",
"redux": "^4.0.0",

@@ -73,0 +73,0 @@ "redux-devtools": "^3.4.0",

@@ -1,4 +0,4 @@

> Breaking change in v5.0.0! Please read [How to migrate from v4 to v5](https://github.com/supasate/connected-react-router/blob/master/FAQ.md#how-to-migrate-from-v4-to-v5).
> Breaking change in v5.0.0! Please read [How to migrate from v4 to v5/v6](https://github.com/supasate/connected-react-router/blob/master/FAQ.md#how-to-migrate-from-v4-to-v5v6).
> v6.0.0 requires React v16.4.0 and React Redux v6.0 or later.
> v6.0.0 requires React v16.4.0 and React Redux v6.0 / v7.0.

@@ -95,2 +95,3 @@ Connected React Router [![Build Status](https://travis-ci.org/supasate/connected-react-router.svg?branch=master)](https://travis-ci.org/supasate/connected-react-router) [![Open Source Helpers](https://www.codetriage.com/supasate/connected-react-router/badges/users.svg)](https://www.codetriage.com/supasate/connected-react-router)

- Place `ConnectedRouter` as a child of `react-redux`'s `Provider`.
- **N.B.** If doing server-side rendering, you should still use the `StaticRouter` from `react-router` on the server.

@@ -97,0 +98,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc