New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rx-angular/state

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rx-angular/state

RxState is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state in angular

  • 1.4.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by7.74%
Maintainers
1
Weekly downloads
 
Created
Source

@rx-angular/state

npm rx-angular CI Coverage Status

Reactive Component State for Angular

RxState is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state in angular.

state logo

Description

Developing modern, reactive user interfaces imposes a variety of challenging tasks. Naming some of those:

  • reacting to events from different sources
  • transforming and composing state
  • handling state lifetime
  • handling subscriptions

There are plenty of solutions available for managing these challenges on a global level (Akita, NgRx, NgXs, ...). None of them is dedicated targeting the special needs of the component level.

@rx-angular/state was specifically designed to give developers a tool for mastering component state without forcing them to use complex design patterns.

It's light-weight and intuitive API and the automatic subscription handling making @rx-angular/state the perfect fit for handling state in any angular component.

Using this library allows you to implement things like:

  • merge global into local state
  • shared state selections
  • subscription-less interaction
  • hook into imperative functions (e.g. component lifecycle or HostBindings)

with very little effort in any component.

Key features

  • Slim and intuitive API
  • Automated subscription handling
  • Intuitive way for handling ViewModels
  • Connect any Observable source to the state
  • Partial state updates
  • Reactive state selection
  • Lazy state (no BehaviourSubject)
  • Foundation for zone-less Angular applications

Install

npm install @rx-angular/state

API

API Documentation

Usage

Usage Documentation

Tutorials

Snippets

Resources

Keywords

FAQs

Package last updated on 26 Dec 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc