Optimistic UI in Remix
The useSubmit Hook just got an upgrade... let's use it to build some optimistic UI in Remix! š LINKS Code diff: https://gist.github.com/samselikoff/1... Save 40% on Build UI this week š https://buildui.com/pricing š TIMESTAMPS 0:00 - Intro 0:45 - Removing the pending UI 1:46 - Accessing pending form data with useFetchers 6:30 - Adding optimistic data to the feed 8:16 - Immediately clearing the textarea 10:40 - Submitting the form on Enter 12:44 - Why useFetcher is wrong 14:48 - New API: useSubmit 19:03 - The problem: Race condition 20:10 - The refactor: Client-side UUIDs 29:02 - The solution: Filtering persisted records from the optimistic data 31:42 - Demo 34:15 - Final touch: Saving indicator 36:19 - Black Friday Deal!

ā¶ļø
Session cookies in Remix

ā¶ļø
Full Walkthrough: Workflow for AI Coding ā Matt Pocock

ā¶ļø
Full App Building Course with Cursor (3+ Hours)

ā¶ļø
My journey learning C++, part 55: Discovering Vector library, part 1

ā¶ļø
Are New Software Engineers Worse

ā¶ļø
40Hz Binaural Gamma Waves - Ultra Deep Concentration

ā¶ļø
In-Place Optimistic UI

ā¶ļø
Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

ā¶ļø
Google & AWS Veteran: What Top Tier Software Architects Do Differently

ā¶ļø
Real-Time WebSockets Course | Build a Live Sports Dashboard with Node.js & PostgreSQL

ā¶ļø
How does routing work in Remix.run explained!

ā¶ļø
My journey learning C++, part 53: Errors final part

ā¶ļø
Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

ā¶ļø
Remix Crash Course | Full Stack React

ā¶ļø
Fixing a React navigation bug

ā¶ļø
Remix Single: Optimistic UI

ā¶ļø
Intro to Remix with Kent C Dodds

ā¶ļø
Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

ā¶ļø
Distinguishing between human and programmatic scrolling

ā¶ļø
