Caching Data in Memory with Remix Client Loaders

preview_player
Показать описание
Learn how to improve your user's experience and websites performance by caching data in memory on the client using clientLoader

00:00 - Problem explained
01:21 - Setting up a clientLoader
02:44 - Adding a client-side cache
05:54 - Bug with the initial request
06:40 - Enabling clientLoader during hydration
08:10 - Improved experience with a client cache

Рекомендации по теме
Комментарии
Автор

Ryan this whole series is great! I like how its general problems, but I can see how I would use this in a variety of places. Even interesting to see your coding style :) Thanks!

natenatters
Автор

I really enjoy Ryan judging the movies 😂

Автор

This answered so many questions for me. Can't wait for the next one.

dustincarr
Автор

That's great feature, it can allow us to use tanstack query which can handle client side cache.

iganic
Автор

"Each of my kids has a friend named Cash" 😂

andyengle
Автор

Awesome feature!

This really begs for an infinite list example! How would that work?

everdimension
Автор

how can i revalidate the data? suppose i want to cache something but also i would like to validate it while returning, how can i do so?

sama
Автор

Cheers Ryan, How would you go about clearing cache ?

JamesCoates-ylle
Автор

where does "let cache" live? in client?

nhieljeff
Автор

Please make a video about deleting, updating using optimistic behaviour

rushikeshbelkunde
Автор

It this cache work between multiple tab for the same user ?

lucasgiunta
Автор

Can you accomplish the same using cache-control headers?

brianmwangi
Автор

How can clear cache when there is a data change on server loader

rapatisoheb
Автор

I know this is out of scope topic. But I need help, I was trying to build a rich text editor with plate js. I only found one video talking about it. But they use js so it worked. But as I was using ts after installing everything it gave an error. code: ( post code #2884, if you can please view this discussion). I can't figure out how to remove this. As this is in the node module.

FzsHotDogInDonut
Автор

should have said its for remix V2... could have saved me some time

דיגיטלמנהאז
Автор

All your kids have a friend named 'cache'. Are you sure they're the same kid?

sambeauJonez
welcome to shbcf.ru