React_TypeScript_LT.pdf

gizm000
July 05, 2024
230

 React_TypeScript_LT.pdf

gizm000

July 05, 2024

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

83 slides
  1. Awaitable Modal 1. 確認ダイアログ表示時に Promise を生成 a. resolve, rejectをダイアログのstateに保存 b.

    Promiseを解決せずに返却 2. Cancel / Confirm クリック時に resolve / rejectを呼出 a. ここでPromiseが解決されるのでawaitが実現できる
  2. Awaitable Modal 1. 確認ダイアログ表示時に Promise を生成 a. resolve, rejectをダイアログのstateに保存 b.

    Promiseを解決せずに返却 2. Cancel / Confirm クリック時に resolve / rejectを呼出 a. ここでPromiseが解決されるのでawaitが実現できる
  3. Awaitable Modal 1. 確認ダイアログ表示時に Promise を生成 a. resolve, rejectをダイアログのstateに保存 b.

    Promiseを解決せずに返却 2. Cancel / Confirm クリック時に resolve / rejectを呼出 a. ここでPromiseが解決されるのでawaitが実現できる