Socket
Socket
Sign inDemoInstall

react-router-redux

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-redux - npm Package Compare versions

Comparing version 4.0.0-beta.1 to 4.0.0-rc.1

34

CHANGELOG.md

@@ -1,25 +0,25 @@

## [HEAD](https://github.com/rackt/react-router-redux/compare/3.0.0...master)
## [HEAD](https://github.com/reactjs/react-router-redux/compare/3.0.0...master)
- Nothing yet!
## [3.0.0](https://github.com/rackt/react-router-redux/compare/2.1.0...3.0.0)
## [3.0.0](https://github.com/reactjs/react-router-redux/compare/2.1.0...3.0.0)
Technically, 2.1.0 broke semver. The appropriate @timdorr's have been flogged. So, we're bumping the major version to catch up.
- Fixed Resets in Redux Dev Tools. [3ae8110f](https://github.com/rackt/react-router-redux/commit/3ae8110f)
- Ensure the initialState is set properly. [a00acfd4](https://github.com/rackt/react-router-redux/commit/a00acfd4)
- Support any number of args on action creators [524898b5](https://github.com/rackt/react-router-redux/commit/524898b5)
- Fixed Resets in Redux Dev Tools. [3ae8110f](https://github.com/reactjs/react-router-redux/commit/3ae8110f)
- Ensure the initialState is set properly. [a00acfd4](https://github.com/reactjs/react-router-redux/commit/a00acfd4)
- Support any number of args on action creators [524898b5](https://github.com/reactjs/react-router-redux/commit/524898b5)
## [2.1.0](https://github.com/rackt/react-router-redux/compare/2.0.4...2.1.0)
## [2.1.0](https://github.com/reactjs/react-router-redux/compare/2.0.4...2.1.0)
- `listenForReplays` has a `selectLocationState` selector. [#218](https://github.com/rackt/react-router-redux/pull/218)
- Provide unscoped action creators. [#225](https://github.com/rackt/react-router-redux/pull/225)
- `listenForReplays` has a `selectLocationState` selector. [#218](https://github.com/reactjs/react-router-redux/pull/218)
- Provide unscoped action creators. [#225](https://github.com/reactjs/react-router-redux/pull/225)
- Example updated to use fully ES2015 syntax.
## [2.0.4](https://github.com/rackt/react-router-redux/compare/2.0.2...2.0.4)
## [2.0.4](https://github.com/reactjs/react-router-redux/compare/2.0.2...2.0.4)
- Remove `history` module published within the tarball. [#133](https://github.com/rackt/react-router-redux/issues/133)
- Make actions conform to [Flux Standard Action](https://github.com/acdlite/flux-standard-action). [#208](https://github.com/rackt/react-router-redux/pull/208)
- Remove `history` module published within the tarball. [#133](https://github.com/reactjs/react-router-redux/issues/133)
- Make actions conform to [Flux Standard Action](https://github.com/acdlite/flux-standard-action). [#208](https://github.com/reactjs/react-router-redux/pull/208)
## [2.0.2](https://github.com/rackt/react-router-redux/compare/1.0.2...2.0.2)
## [2.0.2](https://github.com/reactjs/react-router-redux/compare/1.0.2...2.0.2)

@@ -34,11 +34,11 @@ Versions 2.0.0 and 2.0.1 were test releases for the 2.* series. 2.0.2 is the first public release.

* `UPDATE_PATH` is now `UPDATE_LOCATION`.
* The fully parsed [location object](https://github.com/rackt/history/blob/master/docs/Location.md) is now stored in the state instead of a URL string. To access the path, use `state.routing.location.pathname` instead of `state.routing.path`.
* The fully parsed [location object](https://github.com/reactjs/history/blob/master/docs/Location.md) is now stored in the state instead of a URL string. To access the path, use `state.routing.location.pathname` instead of `state.routing.path`.
[View the new docs](https://github.com/rackt/react-router-redux#api)
[View the new docs](https://github.com/reactjs/react-router-redux#api)
## [1.0.2](https://github.com/rackt/react-router-redux/compare/1.0.1...1.0.2)
## [1.0.2](https://github.com/reactjs/react-router-redux/compare/1.0.1...1.0.2)
* Only publish relevant files to npm
## [1.0.1](https://github.com/rackt/react-router-redux/compare/1.0.0...1.0.1)
## [1.0.1](https://github.com/reactjs/react-router-redux/compare/1.0.0...1.0.1)

@@ -48,3 +48,3 @@ * Solve problem with `basename` causing infinite redirects (#103)

## [1.0.0](https://github.com/rackt/react-router-redux/compare/0.0.10...1.0.0)
## [1.0.0](https://github.com/reactjs/react-router-redux/compare/0.0.10...1.0.0)
> 2015-12-09

@@ -51,0 +51,0 @@

{
"name": "react-router-redux",
"version": "4.0.0-beta.1",
"version": "4.0.0-rc.1",
"description": "Ruthlessly simple bindings to keep react-router and redux in sync",

@@ -12,3 +12,3 @@ "main": "lib/index",

],
"repository": "rackt/react-router-redux",
"repository": "reactjs/react-router-redux",
"authors": [

@@ -15,0 +15,0 @@ "James Long",

# react-router-redux
[![npm version](https://img.shields.io/npm/v/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![npm downloads](https://img.shields.io/npm/dm/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![build status](https://img.shields.io/travis/rackt/react-router-redux/master.svg?style=flat-square)](https://travis-ci.org/rackt/react-router-redux)
[![npm version](https://img.shields.io/npm/v/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![npm downloads](https://img.shields.io/npm/dm/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![build status](https://img.shields.io/travis/reactjs/react-router-redux/master.svg?style=flat-square)](https://travis-ci.org/reactjs/react-router-redux)

@@ -9,3 +9,3 @@ > **Keep your router in sync with application state** :sparkles:

You're a smart person. You use [Redux](https://github.com/rackt/redux) to manage your application state. You use [React Router](https://github.com/rackt/react-router) to do routing. All is good.
You're a smart person. You use [Redux](https://github.com/rackt/redux) to manage your application state. You use [React Router](https://github.com/reactjs/react-router) to do routing. All is good.

@@ -28,3 +28,3 @@ But the two libraries don't coordinate. You want to do time travel with your application state, but React Router doesn't navigate between pages when you replay actions. It controls an important part of application state: the URL.

[history](https://github.com/rackt/history) + `store` ([redux](https://github.com/rackt/redux)) → [**react-router-redux**](https://github.com/rackt/react-router-redux) → enhanced [history](https://github.com/rackt/history) → [react-router](https://github.com/rackt/react-router)
[history](https://github.com/reactjs/history) + `store` ([redux](https://github.com/rackt/redux)) → [**react-router-redux**](https://github.com/reactjs/react-router-redux) → enhanced [history](https://github.com/reactjs/history) → [react-router](https://github.com/reactjs/react-router)

@@ -35,2 +35,4 @@ ## Tutorial

**Note:** This example uses `react-router`'s 2.0 API.
```js

@@ -96,3 +98,3 @@ import React from 'react'

React Router [provides route information via a route component's props](https://github.com/rackt/react-router/blob/latest/docs/Introduction.md#getting-url-parameters). This makes it easy to access them from a container component. When using [react-redux](https://github.com/rackt/react-redux) to `connect()` your components to state, you can access the router's props from the [2nd argument of `mapStateToProps`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options):
React Router [provides route information via a route component's props](https://github.com/reactjs/react-router/blob/latest/docs/Introduction.md#getting-url-parameters). This makes it easy to access them from a container component. When using [react-redux](https://github.com/rackt/react-redux) to `connect()` your components to state, you can access the router's props from the [2nd argument of `mapStateToProps`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options):

@@ -134,3 +136,6 @@ ```js

- None yet, since we just released a new version :smile:
* [shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial) - react-router-redux including **Server Rendering** using [React on Rails](https://github.com/shakacode/react_on_rails/), live at [www.reactrails.com](http://www.reactrails.com/).
* [davezuko/react-redux-starter-kit](https://github.com/davezuko/react-redux-starter-kit) - popular redux starter kit
* **tip**: migrating from react-router-redux `^3.0.0`? use [this commit](https://github.com/davezuko/react-redux-starter-kit/commit/0df26907) as a reference
* [svrcekmichal/universal-react](https://github.com/svrcekmichal/universal-react) - Universal react app with async actions provided by [svrcekmichal/reasync](https://github.com/svrcekmichal/reasync) package

@@ -162,3 +167,3 @@ → _Have an example to add? Send us a PR!_ ←

Action creators that correspond with the [history methods of the same name](https://github.com/rackt/history/blob/master/docs/GettingStarted.md#navigation). For reference they are defined as follows:
Action creators that correspond with the [history methods of the same name](https://github.com/reactjs/history/blob/master/docs/GettingStarted.md#navigation). For reference they are defined as follows:

@@ -171,3 +176,3 @@ - `push` - Pushes a new location to history, becoming the current location.

Both `push` and `replace` take in a [location descriptor](https://github.com/rackt/history/blob/master/docs/Glossary.md#locationdescriptor), which can be an object describing the URL or a plain string URL.
Both `push` and `replace` take in a [location descriptor](https://github.com/reactjs/history/blob/master/docs/Glossary.md#locationdescriptor), which can be an object describing the URL or a plain string URL.

@@ -174,0 +179,0 @@ These action creators are also available in one single object as `routerActions`, which can be used as a convenience when using Redux's `bindActionCreators()`.

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