In RxJS, which operator is commonly used to handle side effects?

  • filter
  • map
  • mergeMap
  • tap
In RxJS, the tap operator is commonly used to handle side effects. It allows you to perform actions or execute code for each emitted item without modifying the item itself, making it suitable for logging, debugging, or triggering side effects.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *