Skip to content

don't use store.dispatch to start notifications / change initAction$ #2

@fxck

Description

@fxck

It should instead use onInit$ subject instead, which means changing https://github.com/fxck/ngrx-example/blob/master/src/app/app.component.ts#L55 to checkAuthAction$ and add startNotificationsAction$.

@MikeRyan52 is there a better way(than to create subject and next() it in ngOnInit) to dispatch multiple actions actions on component init?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions