Back to examples

API cache

Query client patterns built from ordinary Model state, update logic, and one Subscription.

View source

Posts

Open a post, go back, and open it again. The second visit renders instantly from the Model. Invalidate marks the list stale and refetches it while the current list stays on screen.

Loading posts…