The Call Kent Podcast
The Call Kent Podcast
Kent C. Dodds
Live loading data with remix
5 minutes Posted Aug 15, 2022 at 3:25 pm.
0:00
5:28
Download MP3
Show notes

To live load data when using a framework like Next.JS, I sometimes use swr or react query to do so. Since I am using the loaders in remix to initially load my data, how do I live load this data with remix, do I need to use swr/react-query with perhaps an api endpoint in my remix routes or is there a better way to fetch data from my remix loaders.

Live loading data with remix