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

redux-router-kit

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-router-kit - npm Package Compare versions

Comparing version 0.0.43 to 0.0.44

4

package.json
{
"name": "redux-router-kit",
"version": "0.0.43",
"description": "Routing tools for Redux/React",
"version": "0.0.44",
"description": "Routing tools for React+Redux",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -23,2 +23,6 @@ # Redux Router Kit

## Is this thing ready?
Well, it is being used in production for https://zapier.com. :-) But it's quite new, so beware of silly bugs or design mistakes! Also, the API should be considered somewhat unstable at this point.
## Install

@@ -85,3 +89,3 @@

## Nested routes, onLeave/onEnter
## Nested routes, onLeave/onEnter, and assign

@@ -124,3 +128,17 @@ ```js

'.': {
component: TodoList
component: TodoList,
assign({query}) {
if (query.page) {
// Return any properties for `routing.next`/`routing.current`.
// These can be new ad-hoc properties, or modifications of
// params or query.
return {
query: {
...query,
// Convert page to an integer.
page: parseInt(query.page)
}
};
}
}
},

@@ -127,0 +145,0 @@ 'new': {

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