Artwork

Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

SPAs in React 19

59:34
 
Chia sẻ
 

Manage episode 428387780 series 1635850
Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

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:

  continue reading

195 tập

Artwork

SPAs in React 19

Frontend First

213 subscribers

published

iconChia sẻ
 
Manage episode 428387780 series 1635850
Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.

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:

  continue reading

195 tập

Tất cả các tập

×
 
Loading …

Chào mừng bạn đến với Player FM!

Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.

 

Hướng dẫn sử dụng nhanh