fate

A modern data client for React.

Search Login
Thinking...

Suspense-first screens with useRequest

React Integration
#views
#async-react
👍76 likes

The React integration leans on Suspense instead of local loading flags. A root useRequest call can suspend while the composed selection is fetched, and errors bubble to normal error boundaries. The components underneath can stay focused on rendering masked data. The post also shows why this is useful for AI-generated code: there are fewer branches and fewer imperative states to keep in sync.

- Jamal

3 Comments

Dina

The React integration posts make it clear that fate is not trying to replace React state.

Christoph

Suspense at the request root keeps the route code small, and the error boundary story feels like normal React.

Sora

I like that the posts use product language instead of pretending this is a generic social network.

Add a comment