fate

A modern data client for React.

Search Login
Thinking...

Connection lists for comments and feeds

React Integration
#pagination
#normalized-cache
👍69 likes

The comments under each post use connection-style lists so the UI can load more without inventing a pagination protocol per screen. fate tracks cursor arguments as part of the list state, merges pages into the same connection, and keeps the records normalized. The home feed starts small on purpose so the load-more button exercises this path in the example.

- Lena

3 Comments

Lena

The cache lifetime post is a good reminder to retain manual requests outside React.

Jamal

Connection lists are a good fit for this demo because the small home feed forces loadNext to be exercised.

Dina

The HTTP transport post answers the biggest question I had after reading the original announcement.

Add a comment