Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ざっくりReact Fiberまとめ
Search
locol
April 13, 2018
Technology
0
260
ざっくりReact Fiberまとめ
locol
April 13, 2018
Tweet
Share
More Decks by locol
See All by locol
Which is the best option for linting: Pre-commit or CI?
locol23
1
340
Introduction to React
locol23
0
61
Introduction to Scrum
locol23
0
300
Reactでリプレースして爆速になったのでちょっと仕組み公開
locol23
0
740
Other Decks in Technology
See All in Technology
障害対応訓練、その前に
coconala_engineer
0
190
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
110
AWS運用を効率化する!AWS Organizationsを軸にした一元管理の実践/nikkei-tech-talk-202512
nikkei_engineer_recruiting
0
170
日本Rubyの会: これまでとこれから
snoozer05
PRO
5
230
AI with TiDD
shiraji
1
270
ExpoのインダストリーブースでみたAWSが見せる製造業の未来
hamadakoji
0
190
さくらのクラウド開発ふりかえり2025
kazeburo
2
960
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9.9k
Strands AgentsとNova 2 SonicでS2Sを実践してみた
yama3133
1
1.8k
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
870
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
400
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
89
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
190
Test your architecture with Archunit
thirion
1
2.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
170
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
51
42k
A better future with KSS
kneath
240
18k
HDC tutorial
michielstock
0
260
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
750
Rebuilding a faster, lazier Slack
samanthasiow
85
9.3k
Chasing Engaging Ingredients in Design
codingconduct
0
84
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
31
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
90
Transcript
ざっくりReact Fiberまとめ
Fiberとは • Stackに変わる新しいReconciliation(リコンシリエーション)用の構造 • React v17よりデフォルトでFiberを使用した非同期のRenderingに変更 →Fiberを使用した非同期Renderingになることで、 ユーザのアクション(Inputへの入力など)を待たせないようになる
Reconsiliationとは • Virtual DOMの差分取得アルゴリズム • 差分取得結果をもとにHost(DOM等)に反映 ※HostとはブラウザであればDOM、 ネイティブであればReactNativeのビュー
StackとFiberの違い Stack(既存) Rootから順番に全て の子Componentを処 理後、renderingする 為、処理中にユーザ からアクセスがあっ た場合に対応できな い Fiber(v17〜)
class App extends React.Component { render(){ return( <Head /> <div>test</div> ) } } : Fiber Fiberの非同期 RenderingではFiber 単位で処理が実行さ れ、優先度によって Idle中の処理に回す などFlexibleに行わ れる為、ユーザを待 たせない
まとめ • renderingする裏側の構造の変更の為、実際に使用する側としては 意識する必要はあまりない • 非同期Renderingにより、ユーザを待たせないようになる
Appendix
Links • https://github.com/acdlite/react-fiber-architecture • http://blog.koba04.com/post/2017/04/25/a-state-of-react-fiber/ • https://qiita.com/seya/items/a655adb340af3b6690b5 • https://postd.cc/react-fiber-architecture/