Artwork

コンテンツは Frontend First, Sam Selikoff, and Ryan Toronto によって提供されます。エピソード、グラフィック、ポッドキャストの説明を含むすべてのポッドキャスト コンテンツは、Frontend First, Sam Selikoff, and Ryan Toronto またはそのポッドキャスト プラットフォーム パートナーによって直接アップロードされ、提供されます。誰かがあなたの著作物をあなたの許可なく使用していると思われる場合は、ここで概説されているプロセスに従うことができますhttps://ja.player.fm/legal
Player FM -ポッドキャストアプリ
Player FMアプリでオフラインにしPlayer FMう!

Understanding prop passing from RSC to Client Components

48:11
 
シェア
 

Manage episode 373814183 series 1635850
コンテンツは Frontend First, Sam Selikoff, and Ryan Toronto によって提供されます。エピソード、グラフィック、ポッドキャストの説明を含むすべてのポッドキャスト コンテンツは、Frontend First, Sam Selikoff, and Ryan Toronto またはそのポッドキャスト プラットフォーム パートナーによって直接アップロードされ、提供されます。誰かがあなたの著作物をあなたの許可なく使用していると思われる場合は、ここで概説されているプロセスに従うことができますhttps://ja.player.fm/legal

Sam and Ryan discuss how TypeScript helped them understand the mechanics of how props get passed from Server Components to Client Components, and how to properly type client component props if the prop starts out as a rich data type on the server. They also clarify some points from last episode’s discussion about the RSC payload.

Topics include:

  • 0:00 - Intro
  • 0:40 - Clarifying what the RSC Payload actually is
  • 10:12 - Understanding prop serialization when passing props from Server Components to Client Components
  • 23:38 - How to define TypeScript types for serialized props, and Remix’s SerializeFrom helper

Links:

  continue reading

201 つのエピソード

Artwork
iconシェア
 
Manage episode 373814183 series 1635850
コンテンツは Frontend First, Sam Selikoff, and Ryan Toronto によって提供されます。エピソード、グラフィック、ポッドキャストの説明を含むすべてのポッドキャスト コンテンツは、Frontend First, Sam Selikoff, and Ryan Toronto またはそのポッドキャスト プラットフォーム パートナーによって直接アップロードされ、提供されます。誰かがあなたの著作物をあなたの許可なく使用していると思われる場合は、ここで概説されているプロセスに従うことができますhttps://ja.player.fm/legal

Sam and Ryan discuss how TypeScript helped them understand the mechanics of how props get passed from Server Components to Client Components, and how to properly type client component props if the prop starts out as a rich data type on the server. They also clarify some points from last episode’s discussion about the RSC payload.

Topics include:

  • 0:00 - Intro
  • 0:40 - Clarifying what the RSC Payload actually is
  • 10:12 - Understanding prop serialization when passing props from Server Components to Client Components
  • 23:38 - How to define TypeScript types for serialized props, and Remix’s SerializeFrom helper

Links:

  continue reading

201 つのエピソード

Wszystkie odcinki

×
 
Loading …

プレーヤーFMへようこそ!

Player FMは今からすぐに楽しめるために高品質のポッドキャストをウェブでスキャンしています。 これは最高のポッドキャストアプリで、Android、iPhone、そしてWebで動作します。 全ての端末で購読を同期するためにサインアップしてください。

 

クイックリファレンスガイド

探検しながらこの番組を聞いてください
再生