OM DENNE EPISODE
Sam and Ryan discuss the new features in React 19 that will specifically benefit developers building single-page applications. They talk about how Suspense and Transitions let developers "teach" React about when their apps are in a loading or a pending state, how Client Actions improve upon using events in React 18 to handle data mutations, and how Actions enable React Components to automatically render and discard optimistic updates without any knowledge of the application's data layer. They also discuss several new Hooks like useOptimistic, useFormStatus, useActionState, and useOptimistic.
Timestamps:
- 0:00 - Intro
- 2:19 - How SPAs are built in React 18
- 5:29 - How Suspense made loading a first-class concept in React
- 7:48 - The problem with data writes in React 18
- 10:37 - What are Client Actions?
- 12:05 - What does it look like to use Actions?
- 14:13 - What are the benefits of Actions?
- 18:46 - How does React 19 change the Optimistic UI story?
- 29:40 - Working with Transitions outside of Actions
- 36:06 - The useActionState Hook
- 37:51 - Using Transitions to keep the old UI rendered and responsive
- 41:25 - How Transitions enable better composition patterns in third-party libraries
- 43:55 - Building a SortableList that flips between being controlled and uncontrolled
Links:
Engelsk
USA
UDSKRIFT 🔗
Are you the producer of this podcast?
Add a podcast transcript
Need Audio-to-Text?
Transcribe with Listen411 in Just 60 Seconds
SØK BLANT TIDLIGERE EPISODER
Søk etter gamle episoder av Frontend First.
ANDRE EPISODE I DENNE PODKAST
Sam and Ryan talk about the pattern of building unstyled components with React. They discuss why unstyled components were created, how they improve upon composition patterns from UI libraries like Bootstrap, how they can be used to share behavior and logic without prescribing any styling opinions, …
Sam and Ryan read and discuss a fantastic interactive blog post about queueing in HTTP written by Sam Rose.
Timestamps:
0:00 - Intro
6:57 - Queueing: An interactive study of queueing strategies
9:05 - Why do we need queues?
13:16 - FIFO and timing out
17:55 - LIFO
20:58 - Priority queues
25:21 - A…
Sam joins Lane Wagner in a crossover episode with the Backend Banter podcast. They talk about abstractions in frontend and backend frameworks, what JavaScript is doing differently from other languages and frameworks, why the frontend should drive the backend even if you're building in a server-side…
Sam and Ryan talk about what sorts of capabilities a tool should have to be considered a web framework. They discuss how frameworks tackle the complexity of getting different systems to communicate with each other, how good frameworks embrace the strengths and patterns of the language they're writt…
Ansvarsfraskrivelse: Podkasten og kunstværket, det finnes indlejret på denne siden, er fra Sam Selikoff, Ryan Toronto, som tilhører dens eier og ikke er tilknyttet eller godkjent av Listen Notes, Inc.
REDIG
Takk fordi du hjelper med å holde podkast-databasen oppdatert.