### Realtime NgRx without the reducers.
npm install angularfire-redux
yarn add angularfire-redux
`Example
`ts
import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Store } from 'angularfire-redux';
import { FieldValue } from '@firebase/firestore-types';
import {
AngularFirestore,
AngularFirestoreCollection
} from 'angularfire2/firestore';export interface Item {
name: string;
id: string;
type: string;
date: FieldValue;
}
@Component({
selector: 'app-root',
template:
})
export class AppComponent implements OnInit {
items$: Observable- ;
constructor(private store: Store) { } ngOnInit() {
this.items$ = this.store.selectCol('items', r => r.orderBy('date'));
}
delete(item: Item) {
this.store
.dispatch({ path:
items/${item.id}, type: 'delete' });
}}
``