@eventstore-ui/stores
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@eventstore-ui/stores

Data stores for stencil.

@eventstore-ui/stores builds upon @stencil/store, with a few key differences:

  • Support for removing keys (and their values) from the store, allowing arbitrary key value records.

    const { state } = createStore<Record<string, string>>();
    
    state.something = 'something';
    
    delete state.something;
  • Addition of specialized store types, with extra helper methods:

  • Removal of ie11 support.

Install

Add to your project

yarn add @eventstore-ui/stores

Also, include the peer dependencies:

yarn add @eventstore-ui/utils

Readme

Keywords

none

Package Sidebar

Install

npm i @eventstore-ui/stores

Weekly Downloads

2

Version

1.0.0

License

Apache-2.0

Unpacked Size

51.2 kB

Total Files

22

Last publish

Collaborators

  • hayleycampbell
  • georgepayne
  • ylorph-eventstore