1.3.0 • Published 7 years ago
@devly/devly-store v1.3.0
Introduction
Lantis needs to be able to interact with its plugins. It does so using lantis-store which is essentially a redux store and a helper function to dynamically add reducers.
API
lantis-store exports store and reducerRegistry.
reducerRegistry takes parameters name and reducer; and returns undefined.
nameis the key for the reducerreduceris the redux reducer to be associated with the keyname
store has the same API as a redux store.
1.3.0
7 years ago