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

effector

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effector - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json
{
"name": "effector",
"version": "0.8.2",
"version": "0.8.3",
"description": "Redux effects",

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

@@ -17,30 +17,5 @@ # Effector

## API
## Usage
```js
import {
effectorMiddleware,
rootDomain,
createReducer,
joint,
} from 'effector'
```
## Core types
```js
import type {Domain, Event, Effect, Reducer} from 'effector'
```
### Event
Action creator, represented action type itself
> (name: string) => Event
## Example
```js
import {createStore, applyMiddleware} from 'redux'

@@ -140,1 +115,19 @@

```
## API
```js
import {
effectorMiddleware,
rootDomain,
createReducer,
joint,
} from 'effector'
```
## Core types
```js
import type {Domain, Event, Effect, Reducer} from 'effector'
```

@@ -55,3 +55,3 @@ //@flow

export type Event<Payload, State = void> = {
export type Event<Payload, State> = {
(params: Payload): {

@@ -77,3 +77,3 @@ send(dispatchHook?: <T>(value: T) => T): Promise<Payload>,

export type Effect<Params, Done, Fail = Error, State = void> = {
export type Effect<Params, Done, Fail, State> = {
(params: Params): {

@@ -80,0 +80,0 @@ raw(): RawAction<Params>,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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