PodRocket cover image

Remix and React Router with Michael Jackson

PodRocket

00:00

Remix - How to Recall Loaters When a Mutation Happens

In remix, each view declares its data dependencies in this thing called your loader. When a mutation occurs on the server, we will actually go and recall the loaders. So as soon as you save that image, perform that mutation, we will refresh any stale data that's on the page. And like a use effect am in re mix, we use forms for data mutations. You only need to load one small section of the page.

Play episode from 13:13
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app