Socket
Socket
Sign inDemoInstall

@codewithdan/observable-store-extensions

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @codewithdan/observable-store-extensions

Observable Store redux devtools extension.


Version published
Maintainers
1
Install size
41.4 kB
Created

Readme

Source

Observable Store Extensions

Observable Store is a front-end state management library that provides a simple yet powerful way to manage state in front-end applications.

This package can be used to integrate Observable Store with the Redux DevTools. View more details about using the extensions here.

Changes

2.2.6 - January 25, 2020

Change how detection for presence of redux devtools is done. Don't send state back to devtools while using time travel or jumping to a specific action (debugging scenarios).

2.2.7 - May 11, 2020

Added workaround for changed APIs for accessing providers/services in Angular 9+. User must now pass the Router and ngZone symbols when enabling the Redux Devtools. See project repository repo for more details.

import { environment } from './environments/environment';
import { NgZone } from '@angular/core';
import { Router } from '@angular/router';

if (!environment.production) {
    ObservableStore.addExtension(new ReduxDevToolsExtension());
}
2.2.8 - May 20, 2020

Added support for Angular Ivy with the Redux DevTools. Breaking changes in Ivy prevented this functionality initially, but thanks to help from Andrew Scott and Colum Ferry it's now working with the following code:

import { environment } from './environments/environment';
import { NgZone } from '@angular/core';
import { Router } from '@angular/router';

if (!environment.production) {
    ObservableStore.addExtension(new ReduxDevToolsExtension({ router: Router, ngZone: NgZone }));
}

Keywords

FAQs

Last updated on 13 Jul 2021

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