React 19’s useOptimistic: EVERYTHING you NEED to know

useOptimistic makes your pokey backend feel fast with optimistic updates to your UI. It’s simple to use, but we’ll covert the gotcha, as well as how to use it with React Query and also whether or not you should use it with a state manager. Code: 👉 Upcoming NextJS course: 👉 Don’t forget to subscribe to this channel for more updates: 👉 Discord server signup: 👉 VS Code theme and font? Night Wolf [black] and Operator Mono 👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF 00:00 Introduction 00:50 Creating a simple API server 03:05 Setting up Pico CSS 04:40 Connecting to the API server 05:43 Posting todos to the server 06:54 Bring on useOptimi ... #JackHerrington #useoptimistic #useoptimistic_next_js #react_19 #react_useoptimistics #useoptimistic_react #nextjs_15 #react_server_components #react_conf #next_15 20240624 QWVr7uDyBXE
Back to Top