Reactive Pattern for Fetching Data
Learn about the reactive pattern for fetching data.
We'll cover the following...
The idea behind the reactive pattern for managing unsubscriptions is to keep and use the observable as a stream throughout the application. Don’t worry, this will become more apparent to you later in this section.
Retrieving data as streams
So instead of defining a method to retrieve our data, we’ll declare a variable inside our service in the ...