@raisiqueira/rxjs-subject-store
v0.1.0
Published
A basic state management implemented using RxJS Subjects.
Downloads
1
Maintainers
Readme
rxjs-subject-store
A basic state management implemented using RxJS Subjects.
install
yarn add @raisiqueira/rxjs-subject-store
Usage
import { Store } from '@raisiqueira/rxjs-subject-store';
class TState {
value1: string = 'Hi!';
}
class TestStore extends Store {
constructor() {
super(new TState())
}
}
Using with Angular 2+
Just add @Injectable()
to the class.
License
MIT