JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q15478F
  • License MIT

Type safety observable store for any app.

Package Exports

  • subjective

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (subjective) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Subjective

  • type safety observable store which favors simple functions and immutable pattern for updating the state
  • classes as a state storage since classes have a type
  • immutable pattern - modern frameworks can take advantage of this (comparison by reference)
  • group your stores (SubjectiveStore) or use separately (Subjective)
  • type inference works!
  • subscribe to a whole state or part of it

Examples

Credits

  • ngrx
  • redux