Fetching Data as Streams
The way you manage your application’s data has a huge impact on your UI performance and the user experience. As far as I’m concerned, great user experience and performant UIs are no longer an option nowadays – they are key determinants of user satisfaction. Furthermore, 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 will be answering in the following chapters. There are a few reactive patterns that come in handy in many use cases, and we will start by exploring the most basic reactive pattern for displaying values received from a REST endpoint to allow users to read and interact with them.
To begin, we will explain the requirement that we’re going to implement in the recipe application. Then, we will introduce the classic pattern to retrieve data, followed by the different...