fate

A modern data client for React.

Search Login
Thinking...

Stable refs and smaller rerenders

Release Notes
#views
#normalized-cache
👍67 likes

Stable refs were a small change with a large ergonomic payoff. When a record has not changed, fate can keep ViewRefs stable across renders, which helps memoized components and reduces avoidable updates. Combined with strict selection, this keeps rendering tied to the fields a component actually requested instead of the shape of a whole server response.

- Lena

2 Comments

Hana

The Vite plugin note clarifies why the generated client is still present without making codegen feel mandatory.

Mika

Stable refs should make a visible difference in large feeds with memoized cards.

Add a comment