Searching IndexedDB in Remix

Поделиться
HTML-код
  • Опубликовано: 4 авг 2024
  • Learn how to push all the caching strategies explored so far to the max and provide a UI with instant search and navigation 🤩
    Play with this demo 👉 remix-movies.pages.dev/
    Checkout the code 👉 github.com/remix-run/example-...
    00:00 - Search logic overview
    02:40 - Search demonstration
    05:12 - Optimizing search with IndexedDB
    09:35 - Optimized search demonstration
    13:11 - Deploying the application
    15:38 - Final thoughts
    Learn more at remix.run
  • НаукаНаука

Комментарии • 20

  • @kashnigahbaruda
    @kashnigahbaruda 6 месяцев назад +18

    Ok, time for an infinite scroll example.

  • @Slit1409
    @Slit1409 6 месяцев назад +21

    These short remix concept videos, are like crack to me😅 Good job ryan!

  • @nil7444
    @nil7444 6 месяцев назад +3

    You're killing it...keep going, this is amazing and makes a clear point on how Remix is superior to Next IMHO. I like both, but Remix feels so much native.

  • @DEV_XO
    @DEV_XO 6 месяцев назад

    It's so great to see Ryan having this much fun. Also learning a ton from these videos! 💚

  • @sbogdaniuk
    @sbogdaniuk 2 месяца назад

    Thanks!
    This is the really best DOCs for me, when I watch how designer of the product uses his product. Also I can see how Ryan is thinking while coding.
    PS: Ryan, I want to buy for you some cubes to learn time, sort of how babies learn things :D fun to watch u struggling with it ))

  • @lThePotatoCrew
    @lThePotatoCrew 6 месяцев назад

    Actually epic!

  • @willsmith4140
    @willsmith4140 5 месяцев назад +1

    remix is awesome, and i use it a lot
    one thing that always bothers me though is the typesafety with calling actions/loaders, like the /search. Of course you'd want unit tests covering this, but if you moved the /search to /movie-search, you have to remember to change that string where called the fetcher or it's broken.

  • @andresgutgon
    @andresgutgon 6 месяцев назад

    Really cool

  • @dominuskelvin
    @dominuskelvin 6 месяцев назад

    This is pretty cool.

  • @jamesdenmark1396
    @jamesdenmark1396 3 месяца назад

    When you need to expire all of this shit, I don't know how this would look like haha :D exactly my thought!

  • @DrewLytle
    @DrewLytle 6 месяцев назад

    Local first apps in Remix baby!

  • @twitchizle
    @twitchizle 6 месяцев назад

    Coooool

  • @codewithnws3544
    @codewithnws3544 6 месяцев назад

    I wish I could be like you!

  • @ismail-talb
    @ismail-talb 6 месяцев назад

    awesome....some mysql there .. now we are talking ..

  • @kossboss
    @kossboss 6 месяцев назад +1

    for the max-age thing, you need to know the units. but it looks to be seconds.
    60 * 60 * 24 is how many seconds are in a day.
    if we just put 60 there it would be 60 seconds which is one minute.
    times 60 would give you 60*60=3600 seconds, which is how many seconds are in 1 hour.
    times 24 would give you 60*60*24=86400, which is how many seconds are in 1 day.
    now of course if max-age is in units of says hours then we just put in 86400 hours which is like 9.8 years lol, so one would need to be sure of the units.

  • @osman3404
    @osman3404 6 месяцев назад

    When I grow up I wana be a dev just like Ryan and grow his awesome beard too :)

  • @josecarloscorreamandujano5109
    @josecarloscorreamandujano5109 6 месяцев назад

    Throttle your network 🤘

  • @mr.daniish
    @mr.daniish Месяц назад

    Ryan, ily 🫶

  • @tshddx
    @tshddx 6 месяцев назад

    When I used Remix a couple of years ago, I seem to remember that a route module could export an array of all the tags that could be prefetched for that route. Is that still a viable alternative to manually prefetching the thumbnail with a new Image()?

    • @sergiodxa
      @sergiodxa 6 месяцев назад +1

      The LinksFunction in a route doesn't receive any argument so any link that depends on data from the loader will not work, but you can use MetaFunction to add prefetch links, however those are not going to be prefetched with