Introduction to Fetching Data

Take a look at our application from a data management perspective.

Data management

It’s all about data! The way we manage the application’s data has a huge impact on the UI performance and the user experience. And, as far as I’m concerned, great user experience and performant UIs are no longer an option today. In fact, they’re key determinants of user satisfaction. Besides, managing data efficiently optimizes the code and enhances its quality, which consequently minimizes maintenance and improvement costs.

So how can we manage our data efficiently? Well, this is what we’ll be answering in the following chapters. A few reactive patterns come in handy in many use cases, and we’ll start by exploring the reactive pattern to fulfill a common and crucial use case, which is displaying values received from a REST endpoint for users to read and interact with.

We’ll start by explaining the requirements we’ll implement in the recipe book application. Then we’ll introduce the classic pattern to retrieve data, followed by the different approaches that we can use to manage unsubscriptions and all the important technical concepts surrounding them. Following this, we’ll explain the reactive pattern to fetch data. Finally, we’ll highlight the advantages of the reactive pattern over the classic one. Ready? Let’s get started.

Get hands-on with 1200+ tech skills courses.