Themes

@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