0.0.53 • Published 8 years ago

@bernatfortet/redux-entities v0.0.53

Weekly downloads
-
License
ISC
Repository
github
Last release
8 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

8 years ago

0.0.52

8 years ago

0.0.51

8 years ago

0.0.50

8 years ago

0.0.49

8 years ago

0.0.48

8 years ago

0.0.47

8 years ago

0.0.46

8 years ago

0.0.45

8 years ago

0.0.44

8 years ago

0.0.43

8 years ago

0.0.42

8 years ago

0.0.41

8 years ago

0.0.4

8 years ago