🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@subjected/core

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@subjected/core

Subjected library core API

npmnpm
Version
0.2.2
Version published
Weekly downloads
8
300%
Maintainers
1
Weekly downloads
 
Created
Source

@subjected/core

This package contains the core implementation of the Subjected library.

The core includes:

  • StateContainer which manage a consolidated state entity, providing a minimal API to make changes to this state, subscribe to changes, and respond to state lifecycle events via Extensions.
  • Selectors which allow you to subscribe to "substates" of a state container, this is the key entity which enables efficient rendering of component trees.
  • Computed selectors which let you aggregate state containers, selectors, and even other computed selectors together into a single value.
  • EffectRunner which is the base entity that resolves side effects for a state container while it is resolving a state change action.
  • Action Resolver resolution, the main implementation for how state changes can be composed together using generator functions.

FAQs

Package last updated on 06 Oct 2020

Did you know?

Socket

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