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
React Context Api
Search
King Rayhan
August 17, 2019
Programming
0
34
React Context Api
King Rayhan
August 17, 2019
Tweet
Share
More Decks by King Rayhan
See All by King Rayhan
The weirdest part of JavaScript
kingrayhan
2
43
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
290
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
160
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.9k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
250
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
1k
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
220
[SF Ruby Feb'26] The Silicon Heel
palkan
0
100
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
950
ロボットのための工場に灯りは要らない
watany
10
2.9k
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
590
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
400
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Mind Mapping
helmedeiros
PRO
1
120
Typedesign – Prime Four
hannesfritz
42
3k
Are puppies a ranking factor?
jonoalderson
1
3.1k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
83
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
310
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Leo the Paperboy
mayatellez
4
1.5k
Building AI with AI
inesmontani
PRO
1
800
Transcript
Context API
[ … data and methods] Context <Header /> <TodoWritter />
<Todos /> <Filter /> Share data GLOBALLY
All components can access context values
Provider Component { !, ", ⚛ , $ } Anything
here can be accessible from any children component
functional Class
All components can access provider’s value prop
Access context via render props
Access context context Type Access context by this property Only
works on class component
By renderProps way we can access multiple context
Access context in functional component
We can access multiple context in functional component by useContext()
method