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
20190130 - React - displayName - Lightning Talk
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Glenn 'devalias' Grant
January 30, 2019
Technology
14
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20190130 - React - displayName - Lightning Talk
A lightning talk I gave in 2019 on React displayName usage.
Glenn 'devalias' Grant
January 30, 2019
More Decks by Glenn 'devalias' Grant
See All by Glenn 'devalias' Grant
Bug Bounty Hunting on Steroids [DEF CON 26]
0xdevalias
0
300
Gophers, whales and.. clouds? Oh my!
0xdevalias
0
470
Hack FaaSter: Leveraging Docker and OpenFaaS for fun and offensive (security) profit
0xdevalias
0
290
Other Decks in Technology
See All in Technology
ACE-Step-1.5で見る 音楽生成AIのしくみと“破綻だけ直す”Retake機能の開発【zennfes spring 2026 登壇資料】
personabb
1
450
非エンジニアがClaudeと挑んだ「1ヶ月間プロダクト30本ノック」
askokc
0
500
なぜ Platform Engineering の土台に Kubernetes を選ぶのか
r4ynode
2
640
アンオフィシャルな、オフィシャルからのお願い
wyamazak_devrel
0
110
Claude Codeをどのように キャッチアップしているか
oikon48
12
8k
Chainlitで作るお手軽チャットUI
ynt0485
0
240
Kiroで書いた 設計書 が AI レビューの 採点基準 になる
ezaki
0
110
脆弱性対応、どこで線を引くか
rymiyamoto
1
390
エラーバジェットのアラートのタイミングを考える.pdf
kairim0
0
150
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
370
フィジカル版Github Onshapeの紹介
shiba_8ro
0
220
【Snowflake Summit 2026 Recap!!】Snowflake Summit Deep Dive: Security & Governance
civitaspo
0
170
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.4k
Balancing Empowerment & Direction
lara
6
1.2k
Google's AI Overviews - The New Search
badams
0
1k
For a Future-Friendly Web
brad_frost
183
10k
Mobile First: as difficult as doing things right
swwweet
225
10k
Building the Perfect Custom Keyboard
takai
2
790
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
Six Lessons from altMBA
skipperchong
29
4.3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Technical Leadership for Architectural Decision Making
baasie
3
410
The SEO identity crisis: Don't let AI make you average
varn
0
490
Transcript
React: displayName Because trying to debug a nest of Unknown
components is kind of meh..
Functional Components
React 16.6 https://reactjs.org/blog/2018/10/23/react-v-16-6.html
React.memo Like React.PureComponent, but functional! https://reactjs.org/docs/react-api.html#reactmemo
Memoized Functional Components
React Developer Tools
Memo -> Memo -> Unknown -> WTF?
displayName? https://reactjs.org/docs/react-component.html#displayname
Maybe not..? ES6 ‘Fat Arrow’ anonymous function Named function
Wrapping Display Name https://reactjs.org/docs/higher-order-components.html#convention-wrap-the-display-name-fo r-easy-debugging
memoWithDisplayName app/javascript/src/shared/react-helpers.js
memoWithDisplayName
Components.. withDisplayName(s)!
But how do I know when I need it?
But how do I know when I need it?
But how do I know when I need it? ESLint
ESLint: react/display-name https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
Thank you!