data-feed
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -1,2 +0,2 @@ | ||
export interface FeedState { | ||
export interface FeedStateMap { | ||
count: { | ||
@@ -3,0 +3,0 @@ [key: string]: number; |
@@ -1,2 +0,2 @@ | ||
import { FeedState } from '../interfaces'; | ||
export declare const feedReducer: (state: FeedState, action: import("redux-sputnik").ActionWith<any>) => FeedState; | ||
import { FeedStateMap } from '../interfaces'; | ||
export declare const feedReducer: (state: FeedStateMap, action: import("redux-sputnik").ActionWith<any>) => FeedStateMap; |
{ | ||
"name": "data-feed", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Data feed view", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,4 +9,6 @@ # data-feed | ||
## Requirements | ||
[Demo](https://varp.com/data-feed/) | ||
### Requirements | ||
- `redux-form` should be installed and configured with `form` reducer. | ||
@@ -25,8 +27,6 @@ | ||
## Set Up | ||
### Set Up | ||
### Reducer | ||
1. Add feed reducer: | ||
Add feed reducer: | ||
```tsx | ||
@@ -43,6 +43,4 @@ import { combineReducers } from 'redux' | ||
### Saga | ||
2. Add feed saga: | ||
Add feed saga: | ||
```tsx | ||
@@ -49,0 +47,0 @@ import { feedSaga } from 'data-feed'; |
72012
52