Kent C. Dodds 🌌 Profile picture
Jun 1, 2022 β€’ 4 tweets β€’ 2 min read β€’ Read on X
πŸ‘€ #RenderATL Screenshot of remix-todomvc...
Feel free to try it out: remix-todomvc.fly.dev
And check out the code: github.com/kentcdodds/rem…

Excited about this one. Even on a slow network connection the UX of this app is pretty stellar πŸ”₯ And the DX to get that bug-free UX is fantastic.
Shame I won't have time in my talk to show how to do everything that's happening in here to make it seem super fast even on a slow connection. Without even reaching to CRDTs πŸ˜…
One has *actual user data* and is server rendered and the other is literally static files on a CDN and client rendered. Both are running on a *very* old device in India with slow 3G. The @remix_run version is more than two and a half times as fast πŸ”₯

webpagetest.org/video/compare.…

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Kent C. Dodds 🌌

Kent C. Dodds 🌌 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @kentcdodds

Jan 26, 2023
I'm giving my Advanced React Patterns workshop in Austria for @AgentConf!!

It's completely updated (and in TypeScript‼️) with some newer patterns and others that have stood the test of time.

See you there!

kentcdodds.com/workshops/adva… Kent in a workshop setting ...
This workshop will include some valuable patterns that will help you create highly reusable React components that are a delight to work with.

It is advanced, but if you're just getting started on your React journey, I have some great resources to help you get up to speed!
First off, you should understand some of these basic JavaScript features: kcd.im/js-for-react
Read 5 tweets
Dec 20, 2022
I've heard people complain that ORMs (like @prisma) just get in your way. But you can execute raw queries with Prisma which means it's never in your way. It just helps big time for most things and on *really* complex stuff you're back to the status quo.
Here's an example of something I couldn't do with Prisma, so I just used a raw query and continued on my way using Prisma for everything else: github.com/kentcdodds/ken…

It's not like this would've been any easier if I weren't using an ORM for other things πŸ™ƒ
Here's another query that Prisma couldn't handle at all: github.com/epicweb-dev/ro…

It's amazing what you can do with SQL! And using an ORM doesn't necessarily prevent you from doing this stuff.
Read 4 tweets
Aug 15, 2022
If my wife did this to me, I'd try so hard not to lose it all.
Just thinking of it makes me feel like I'm crawling in my skin. Those wounds would not heal. I'd be so lost without her I'd confuse what is real.
"Noooo!" I'd scream. "Hear me out, no!"
Read 6 tweets
May 19, 2022
Working on the @remix_run Fakebooks app in preparation for the Advanced Remix workshop at #RemixConf. Adding form validation and I am again struck by how much @mjackson and @ryanflorence nailed it with @remix_run. So freaking powerful.
Just had another moment like that when implementing the pending UI stuff. (backend arbitrarily slowed to demonstrate this). The code for this is so simple and straightforward. Also shout-out to @meijer_s's npm.im/spin-delay package for avoiding a flash of loading state.
And don't forget the prefetching going on here. These transitions would take even longer without that. πŸ”₯
Read 6 tweets
May 18, 2022
Just updating dependencies for the first time in a few months... What could possibly go wrong? A TON of dependencies updat...
And this isn't even all of them. There are a few that I just decided I didn't have time to manage this time around πŸ˜…
Read 4 tweets
Jan 29, 2022
Tonight I got t-boned by a guy running a stop sign in a residential area going 80-100 mph. The seatbelt broke my collar bone and the airbags broke my front teeth. The dashboard trapped my feet and knees in the car for 20 minutes while they ripped the top of the car off to get me. Kent in a hospital bed with broken teeth and a broken collar
I have surgery in the morning to repair my collar bone. I'm in pain, but not as much as I would expect.

The guy who hit me flipped over and fled the scene. I was told he later came back and was arrested. I guess that means he was physically ok.
There's a very good possibility that had I not been driving a @Tesla with the heavy battery pack in the floor of the car and their safety features, I would have flipped and possibly died. (I'm now even more of a Tesla fanboy #SorryNotSorry).
Read 18 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(