One of the most important aspects of developing any application is handling data. This data may come locally from the user, may be served by a remote server that exposes an API, or, as with most business applications, may be some combination of both. You may be wondering what strategies are best for dealing with data, or how to even accomplish simple tasks such as making an HTTP request. Luckily, React Native makes your life that much simpler by providing mechanisms for easily dealing with data from all different sources.
The open source community has taken things a step further and provided some excellent modules that can be used with React Native. In this chapter, we will discuss how to work with data in all aspects, and how it integrates into our React Native applications.