Data Transfer Patterns
In this chapter, we will learn how to send and receive data in the React Native application. Firstly, we will make our application more dynamic and dependent on the backend servers. You will learn about the Thunk pattern, which fits into Flux really neatly. Then, we will dive into a more advanced library, redux-saga, which is based on an effect pattern. Both of the solutions will enable our application to seamlessly exchange data with the server. I will also give you a little introduction to more advanced communication patterns, such as HATEOAS and GraphQL. Although those two patterns are rarely crucial for a React Native developer, you will find it much easier to understand if, one day, those patterns become popular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access