Socket
Socket
Sign inDemoInstall

@bfwk/store

Package Overview
Dependencies
7
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bfwk/store

LBF Store


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Store

Defines the interface for the Builder Framework store (based on redux 4.0.0) and provides the ScopedStore wrapper. In ScopedStore, state is dynamically composed of Slices.

No actual store implementation is included in this package. Projects using the Builder Framework will need to use a concrete store implementation when creating the ScopedStore and parts. By default, Builder Framework uses store-redux

Examples
  import { createStore } from '@bfwk/store-redux';

  this.primaryStore = createScopedStore(createStore);

  protected createCanvas(): Canvas {
    return createCanvas(this.pubsub, this.errorHandler, {
      store: createScopedStore(createStore)
    });
  }

FAQs

Last updated on 17 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc