menu_book Course Curriculum (Remix) expand_more
Routing
Loaders and Actions
HTTP and Sessions
loader
Learn loader in Remix through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Intermediate
Advertisement
remix-009.ts
typescript
export async function loader(){ const users=await db.user.findMany(); return json({users}); }
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content