Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Remove Load*Actions by loading data on subscription #3

Open
luchsamapparat opened this issue Dec 2, 2018 · 0 comments
Open

Remove Load*Actions by loading data on subscription #3

luchsamapparat opened this issue Dec 2, 2018 · 0 comments

Comments

@luchsamapparat
Copy link
Member

luchsamapparat commented Dec 2, 2018

  • Load*Actions generate boilerplate code and do not represent any significant business domain event
  • Load*Actions do not match event sourcing best practice of naming events in past tense
  • Components triggering these actions should signal their interest in data by just subscribing to it
  • Effect property triggers service, store facade subscribes to effect property and returns selector value (?)
  • Further Reading: https://medium.com/@m3po22/stop-using-ngrx-effects-for-that-a6ccfe186399
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant