8 Data management in React
This chapter covers
- Introducing the importance of data management
- Evaluating various data management libraries
- Building the data layer of an application in five ways
We’ve been using data in all the apps we’ve built, from the value of an input field to the list of items in a to-do application. I’ve introduced several ways to handle data as well. We’ve used useState
for single data values and useReducer
for more complex multivalue state. We’ve also discussed how React context can help you distribute and manipulate your data throughout your application in meaningful yet simple ways.
But there are many more ways to manage data in an application. Especially as applications grow large and complex, it can make sense ...
Get React in Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.