Comparing version 0.8.2 to 0.8.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204655
132