The Call Kent Podcast

Prevent revalidation of remix loaders after mutation


Listen Later

Hello Kent, here is a transcription of my message, if you did not catch something. Thanks! I have a component that im importing in a dashboard folder in an index.js file. I'm using fetcher.form to submit a form with the Post method. the request is succesful, but when I click on sumbit, this reloads all of the requests of my loaders from different components that are being rendered in the dashboard folder. how can I avoid the reload of unrelated loaders in the same folder (dashboard)?

  • shouldRevalidate

Unwanted loader reloading using fetcher.form in shared folder.

...more
View all episodesView all episodes
Download on the App Store

The Call Kent PodcastBy Kent C. Dodds

  • 5
  • 5
  • 5
  • 5
  • 5

5

2 ratings