Skip to content

[Ivy] 9.0.0-beta.0 - Life Cycle Effects Hook loses context #2373

@jerryorta-dev

Description

@jerryorta-dev

NgRX 9.0.0-beta.0 , Angular 9.0.0, Node 12.3.0:

The lifecycle ngrxOnInitEffects is broken - it loses the context of "this" so code inside that hook doesn't understand the class properties, methods, constructor injections -- Rolling back to 8.6.0 works.

Other information:

I would be willing to submit a PR to fix this issue

[ ] Yes (Assistance is provided if you need help submitting a pull request)
[x] No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions