# The State Management Library Front-Ends Are Looking for Is a Database

## Metadata
- Author: [[Interjected Future]]
- Full Title: The State Management Library Front-Ends Are Looking for Is a Database
- Category: #articles
- URL: https://interjectedfuture.com/state-management-library-front-ends-are-looking-for-is-a-database/
## Highlights
Currently, developers manually fetch data from the server. But to do it well, developers need to account for timeouts with retries, cache invalidation for performance, deduping multiple requests and batching them, and pagination with lazy loading of data, all for efficiency. ([View Highlight](https://read.readwise.io/read/01gzy4y9k18e6rqxzch01gzyq7))
By leveraging database replication, between client and server, the front-end developer can treat data as completely local and not worry about network-induced state management from the server. ([View Highlight](https://read.readwise.io/read/01gzy4yt1neakt08g05nn18qrg))