Should I unsubscribe from Cold Observable?

Discussão em 'Angular' iniciado por Stepan Suvorov, Dezembro 1, 2024.

  1. I know that it's good practice to unsubscribe from Observable to prevent memory leak.

    But if it's Cold Observable should I also unsubscribe from it?

    For example one that is returned by Http.get()

    Continue reading...

Compartilhe esta Página