fate

A modern data client for React.

Search Login
Thinking...

Moving away from request-centric state

Migration Notes
#views
#normalized-cache
👍79 likes

Migrating from request-centric libraries starts with a mindset shift. Instead of passing server data down as custom prop types, define small views next to the components that render them and compose those views at the route. The cache then works by object identity, so mutations and live updates update the relevant records rather than a spread of unrelated request results.

- Mika

2 Comments

Dina

The migration sequence matches how we would try this inside an existing dashboard.

Mika

The migration checklist is realistic because it starts with one screen instead of a full rewrite.

Add a comment