React Deep Dive: useOptimistic
Listen now
Description
Ryan and Sam discuss the purpose and usage of the useOptimistic() hook, a new experimental API from React.
More Episodes
Sam tells Ryan about his experience setting up an in-browser code editor with CodeMirror that he plans on using for blog posts and code recipes, as well as what he thought about using Radix Themes for the first time in earnest on a side project of his currently styled with Tailwind.
Published 04/17/24
Published 04/17/24
Sam and Ryan talk about why it’s better to think of throw as a general-purpose JavaScript language feature rather than something that should only be used for error handling. They discuss the ambiguity around the phrase “error handling”, situations that call for dealing with errors locally vs....
Published 04/10/24