@devly/devly-store

1.3.0 • Public • Published

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.

  • name is the key for the reducer
  • reducer is the redux reducer to be associated with the key name

store has the same API as a redux store.

Readme

Keywords

none

Package Sidebar

Install

npm i @devly/devly-store

Weekly Downloads

0

Version

1.3.0

License

ISC

Unpacked Size

2.46 kB

Total Files

3

Last publish

Collaborators

  • aorinevo