Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jogboms/ns-ngrx-debugger

A minimal nativescript debugger for ngrx-store & ngrx-effects
https://github.com/jogboms/ns-ngrx-debugger

angular debugger nativescript ngrx observable redux redux-devtools

Last synced: 22 days ago
JSON representation

A minimal nativescript debugger for ngrx-store & ngrx-effects

Awesome Lists containing this project

README

        

# Nativescript @Ngrx/Store Debugger
A minimal Nativescript (v3+) debugger for @ngrx/store & @ngrx/effects.

## How To
* Install.
```
npm i ns-ngrx-debugger --save
```

* In your App module.
``` javascript
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
import { NSNgRxDebuggerModule } from "ns-ngrx-debugger";
import { AppComponent } from "./app.component";

@NgModule({
declarations: [ AppComponent ],
bootstrap: [ AppComponent ],
imports: [
NativeScriptModule,
NSNgRxDebuggerModule
],
schemas: [ NO_ERRORS_SCHEMA ]
})
export class AppModule { }

```

* In your Component. (Root component preferably).
``` html

```

* Thats all. No dependencies.

Set up your @ngrx/store however you want. You get a log of all Actions going through the store and an option to dump States and Sub-States of the Store at request on the terminal.

## License

[MIT](/LICENSE)