K.
banner
metrobueller.com
K.
@metrobueller.com
🇸🇴 //🎶Mick Jenkins // 💻deck.gl

I post about things I'm learning
Wow just tried Tanstack table for the first time, the API is really clean!
December 4, 2024 at 3:43 PM
Reposted by K.
Oi! New video is up, it's on a game that for all intents and purposes should exist, but does. And that's kind of rad. The game itself is pretty good too.

I'm talking about S.T.A.L.K.E.R. 2, by the way youtu.be/WjkFrF0VSho?...
This game existing is a Miracle
YouTube video by Mojomoud
youtu.be
November 30, 2024 at 3:53 PM
Woke up looking for the broccoli

Mr get off dropppppeeeddddddd
November 22, 2024 at 5:37 PM
Getting older is realizing useState was just an escape hatch all along
November 9, 2024 at 1:54 AM
I think I may be allowed to use remix at work for a new project, yessssssssssss
November 7, 2024 at 11:28 PM
November 4, 2024 at 3:41 AM
I think this could be simplified a ton by allowing developers to modify the request that is made to your server with `serverLoader()` in the `clientLoader`. The browser could handle ETag validation!
November 3, 2024 at 6:20 PM
I think I've been overthinking caching, and should just go with something and measure the impact of the cache before optimizing everything. A 90ms (on my not-so-good internet connection to my server) round trip is good, but most requests not leaving the browser makes this feel so good
November 2, 2024 at 5:04 PM
Current caching dilemma:

Implementing a HEAD request to check an ETag on the server in a Remix client Loader adds a 90ms round trip to navigation. When just relying on a TTL, you only paid the network cost once.

I wonder where the line is, no one told me this was just tradeoffs all the way down 😭
October 31, 2024 at 1:57 PM
TIL about input.validity and input.setCustomValidity(), I wonder if I could use this as strong defaults wrt to assistive technologies over aria-described-by. AI is a little too wishy-washy with its answers to say if it's a good idea or not

html.spec.whatwg.org/multipage/fo...

(back to caching)
HTML Standard
html.spec.whatwg.org
October 30, 2024 at 8:59 PM
@kentcdodds.com is equally to blame for my current deep dive into caching

www.epicweb.dev/talks/cachin...
Caching for Cash
Kent C. Dodds discusses the fundamentals of caching including vocabulary, solid practices, general considerations, and recommendations.
www.epicweb.dev
October 30, 2024 at 6:38 PM
TIL about If-* headers

If-None-Match + ETags + SWR = instant loads with server authority. Using @remix_run
clientLoader + IndexedDB, you can cache responses locally with server authority via early returns!
October 30, 2024 at 1:19 AM
I think I'm gonna try really hard to make all my websites from now on *really* fast!

Starting w/ @ryanflorence.com's remix playlist here:

www.youtube.com/playlist?lis...
Deferring Data + Streaming in Remix
YouTube video by Remix
www.youtube.com
October 30, 2024 at 1:18 AM