0.0.53 • Published 7 years ago

@bernatfortet/redux-entities v0.0.53

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

USAGE

  1. Create a entitites file
  2. Import all these methods
  3. Re-export them in order to group them with other entity related actions you might have
  4. you must have immutable path

Set initial state from entities schema

const INITIAL_STATE = entitiesSchema

Reducer

Pass reducing cases

import { entitiesReducingCases } from 'vendor/b-entities' export default createReducer(INITIAL_STATE, entitiesReducingCases )

Actions

import { storeEntities, storeNewEntity, storeEntityData, removeEntity, removeEntityData } from '@bernatfortet/redux-entities' import createEntitiesReducer from '@bernatfortet/redux-entities/reducer'

export { storeEntities, storeNewEntity, storeEntityData, removeEntity, removeEntityData }

0.0.53

7 years ago

0.0.52

7 years ago

0.0.51

7 years ago

0.0.50

7 years ago

0.0.49

7 years ago

0.0.48

7 years ago

0.0.47

7 years ago

0.0.46

7 years ago

0.0.45

7 years ago

0.0.44

7 years ago

0.0.43

7 years ago

0.0.42

7 years ago

0.0.41

7 years ago

0.0.4

7 years ago