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

redux-toolbelt-saga

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-toolbelt-saga - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

0

CHANGELOG.md

@@ -0,0 +0,0 @@ ## v2.0.0 (2017-10-08)

@@ -0,0 +0,0 @@ 'use strict';

2

package.json
{
"name": "redux-toolbelt-saga",
"version": "2.0.3",
"version": "2.0.4",
"description": "Saga helpers for redux-toolbelt",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -21,3 +21,3 @@ # redux-toolbelt-saga

## Installation
The tools are available in the `redux-toolbelt` npm package.
The tools are available in the [`redux-toolbelt-saga`](https://www.npmjs.com/package/redux-toolbelt-saga) npm package.
```sh

@@ -32,3 +32,3 @@ npm install --save redux-toolbelt redux-toolbelt-saga redux-saga

## Usage
import the functions you like to use using one of the two methods:
You may import the functions you'd like to use using one of the two methods:
```js

@@ -50,3 +50,3 @@ import {makeAsyncActionCreator} from 'redux-toolbelt'

The first argument specifies saga when to dispatch the function in the second argument.
The first argument specifies the saga to dispatch when the function in the second argument is dispatched.

@@ -65,3 +65,3 @@ ```js

By default, the payload of the action is what passed to the function as it's argument.
By default, the payload of the action is what was passed to the function as it's argument.

@@ -74,5 +74,5 @@ You have two ways of changing it, using `options`:

args: [{id, url}],
// OR
// map the action to arguments using a regular or a generator function

@@ -82,3 +82,3 @@ mapArgs: function* mapArgs(action){

const url = yield select(urlSelector)
return [{id: todosId, url}, true]

@@ -85,0 +85,0 @@ }

export makeAsyncSaga from './makeAsyncSaga'

@@ -0,0 +0,0 @@ import { call, put, takeLatest } from 'redux-saga/effects'

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