Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
React19 β をざっと見る
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
rakus frontend
May 23, 2024
Technology
350
0
Share
React19 β をざっと見る
rakus frontend
May 23, 2024
More Decks by rakus frontend
See All by rakus frontend
新卒FEが1年目に取り組んだこと・学んだこと
rakus_fe
0
54
ErrorBoundaryとSuspenseの導入検討
rakus_fe
1
800
日付をもう少し真面目に勉強中
rakus_fe
0
51
Reactのパフォーマンス改善例
rakus_fe
0
560
Typescript5.4の新機能
rakus_fe
0
340
非破壊的な配列メソッド
rakus_fe
0
400
ココがすごいぜ!Playwright Component Test
rakus_fe
0
600
スプレッドシートのセル結合がつらいので足掻いてみた話
rakus_fe
0
280
Other Decks in Technology
See All in Technology
みんなの「データ活用」を支えるストレージ担当から持ち込むAWS活用/コミュニティー設計TIPS 10選~「作れる」より、「続けられる」設計へ~
yoshiki0705
0
200
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
480
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
390
ハーネスエンジニアリングの概要と設計思想
sergicalsix
3
520
Bluesky Meetup in Tokyo vol.4 - 2023to2026
shinoharata
0
190
実践ハーネスエンジニアリング:TAKTで実現するAIエージェント制御 / Practical Harness Engineering: AI Agent Control Enabled by TAKT
nrslib
2
810
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
300
新メンバーのために、シニアエンジニアが環境を作る時代
puku0x
0
980
Discordでリモートポケカしてたら、なぜかDOを25分間動かせるようになった話
umireon
0
140
猫でもわかるKiro CLI(CDKコーディング編)
kentapapa
1
110
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.3k
EarthCopilotに学ぶマルチエージェントオーケストレーション
nakasho
0
210
Featured
See All Featured
A Soul's Torment
seathinner
6
2.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
The Pragmatic Product Professional
lauravandoore
37
7.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
30 Presentation Tips
portentint
PRO
1
270
Why Our Code Smells
bkeepers
PRO
340
58k
HDC tutorial
michielstock
2
620
How to Think Like a Performance Engineer
csswizardry
28
2.5k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Music & Morning Musume
bryan
47
7.1k
Transcript
React 19 Beta をざっと見る 2024/05/21 伊藤
新機能: アクション • useTransitionを使用して、送信中状態やエラー 処理を簡単に管理。 • useActionStateとuseOptimisticによる楽観的更新 のサポート。 • 例:
新しいフック: use • レンダリング中にリソースを読み取る新API。 • 例:
サーバコンポーネント • サーバ上で実行される非同期関数を呼び出 せるサーバアクションの導入。 • サーバコンポーネントを使用してバンドル前に コンポーネントを事前レンダー。 • 詳細はReact Server
Componentsを参照。
改善点: refのprops化 • 関数コンポーネントでrefに直接アクセス可能 になった。 • forwordRefが不要になり、将来的に非推奨に なる予定。 • 例:
コンテクストのプロバイダ • <Context.Provider>の代わりに<Context>を 使用可能に。 • 例:
その他の改善 • refコールバックからクリーンアップ関数を返す 機能。 • 例:
参考文献 https://ja.react.dev/blog/2024/04/25/react-19