fate

A modern data client for React.

Search Login
Thinking...

A normalized cache without manual key math

Core Concepts
#normalized-cache
#optimistic-updates
👍111 likes

fate stores records by __typename and id, then points roots and lists at those records. That is why liking a post can update every view that selected likes without touching views that only selected title. This article follows one Post record through the home feed, category page, search results, and detail route to show how normalized data removes duplicate cache entries.

- Hana

3 Comments

Sora

The source adapter post helped our backend team map data views to our existing models.

Dina

The data masking examples should be required reading before anyone adds fields to a shared component.

Sora

The normalized cache explanation finally connected likes, comments, categories, and search results for our team.

Add a comment