menu_book Course Curriculum (Remix) expand_more
Routing
Loaders and Actions
HTTP and Sessions
defer and Await
Learn defer and Await in Remix through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Intermediate
remix-018.ts
typescript
export async function loader(){ return defer({reviews:getReviews()}); }
// <Await resolve={reviews}>{items=>...}</Await>
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content