DEV Community

Cover image for Start using ngrx/effects for this
Tim Deschryver for Angular

Posted on • Edited on • Originally published at timdeschryver.dev

2 3

Start using ngrx/effects for this

You're probably only using ngrx/effects to handle the communication to an external source by triggering an effect with an NgRx action. But did you know ngrx/effects can be used for more than this?

In this post we're going through the basics of ngrx/effects.
We're also going to take a look at some useful but uncommon use cases:

  • External sources like interval events and resize events;
  • Handling the flow of a dialog;
  • Showing notifications to the user;
  • How to access the store within your effect;
  • Router redirects;
  • Sending data for analytics/monitoring;

Read More...

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay