Current collected state Current
Observed since 20 Oct, 18:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
11online-redux-helpers
Helpers for managing state in redux
Some helpful helper functions from merging state and deleting from state.
Current version only uses id.
Import like so: import {mergeState, deleteFromState} from '11online-redux-helpers';
Use like so in your reducer:
case POST_ACTIVITY_SUCCESS:
return {
...state,
isFetching: false,
error: [],
activities: mergeState(state.activities, action.payload)
};
or
case DELETE_ACTIVITY_SUCCESS:
return {
...state,
isFetching: false,
error: [],
activities: deleteFromState(state.activities, action.payload)
};
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"shasum": "a8c1a14507a112e9af3df58f8ed271a620548a69",
"tarball": "https://registry.npmjs.org/11online-redux-helpers/-/11online-redux-helpers-1.0.0.tgz",
"integrity": "sha512-vGK0+l58cj8sMVIr5VIm6nYClSLj1RpsT0+THhqN4gEGqrbTZAxTCo6wRsZESLhi8r9eCbGtU1+JHXMyBZDUEA==",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIDhKLS/ICaI2/QBtt1FVT/08EaTgCyG/be1ZnqBhOJNlAiEA5QyKB1EgixnxcNLOI9FiQOKFSYERychrDXbUhunH4dk="
}
]
}Observed since 20 Oct, 18:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f764fa4b99a754bc772adbf2bf9fbec21aced0fb98e4c2e61d1cd42022dbbf4f