Prefetching Links in Remix
HTML-ΠΊΠΎΠ΄
- ΠΠΏΡΠ±Π»ΠΈΠΊΠΎΠ²Π°Π½ΠΎ: 4 Π°Π²Π³ 2024
- Optimize your user's experience with instant navigations by prefetching route data.
Play with this demo π remix-movies.pages.dev/
Checkout the code π github.com/remix-run/example-...
00:00 - Navigation without prefetching
01:13 - Prefetching pages on hover & focus
04:14 - Prefetching images
06:46 - How does Remix prefetching work?
Learn more at remix.run - ΠΠ°ΡΠΊΠ°
I'm amazed about remix way of doing things over other frameworks
That simple image prefetch logic is a game changer - such great videos!
Now I get why Kent put a lot of emphasis on the link tag on his EpicWebDev course. Thanks for this Ryan!
Loving ths series! Thanks to the Remix team for your hard work
Wow, didn't know about that image prefetch, thanks β€
These are awesome keep it up!
you are amazing keep making more videos and make the web world better
You guys should release a prefetch for the image in the v3 π
Remix is so awesomee!
This is, wow!
Loving the videos! :) I was wondering how you are navigating vscode like that without the mouse, is it VimBindings or something else?
Wow that Canary release hoist feature. Will we be able to hoist other tags to the head? Like preloading assets for image at the component level?
I am damm sure Ryan has searched for those movies in Netflix just after recording the video
Super cool! For prefetching (render) I would have a question. Are the links downloaded after the initial load with the loader data or at the same time? Would it slow my initial load? Anyone? Thank you
I'm curious to know how we can upload files in Remix please make a video.
is there an onPrefetch on Links?
focus focus focus :)
does the `intent` works like `viewport` on mobile? or we've to conditionally do that?
It does not, intent prefetches when the user hovers or focuses the link. So effectively it doesn't do anything on mobile
remix.run/docs/en/main/components/link#prefetch
Maybe the biggest character => UX impact in Remix!