- Mastering Reactive JavaScript
- Erich de Souza Oliveira
- 57字
- 2021-07-09 20:33:08
Reacting to changes
As discussed earlier, an observable is an object where you can listen to events. The act of listening to events in this object is called subscription. Here, we will see the different ways in which we can subscribe to an observable and also how we can stop listening to events in this observable (unsubscribe).