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 π₯
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 π
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. π₯
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.
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).