Making sense of Higher Order Components - Advanced React course, Episode 7
4.7 هزار بار بازدید -
4 ماه پیش
-
👉 Based on the "Advanced
👉 Based on the "Advanced React" book, Chapter 7: https://www.advanced-react.com
🎬 Episode 7: Higher Order Components in the modern world
00:30 What's in the episode
01:01 What is a Higher Order Component
01:42 Injecting props with HOCs
02:26 Enhancing callbacks with HOCs
05:44 Enhancing lifecycle methods
06:06 Intercepting DOM events
👩🏻💻 Code examples:
1. Injecting props (theming): https://www.advanced-react.com/exampl...
2. Button with logging on click: https://www.advanced-react.com/exampl...
3. Passing data to HOC: https://www.advanced-react.com/exampl...
4. Logging on mount: https://www.advanced-react.com/exampl...
💬 Twitter: Twitter: adevnadia
💬 Linkedin: LinkedIn: adevnadia
🎬 Episode 7: Higher Order Components in the modern world
00:30 What's in the episode
01:01 What is a Higher Order Component
01:42 Injecting props with HOCs
02:26 Enhancing callbacks with HOCs
05:44 Enhancing lifecycle methods
06:06 Intercepting DOM events
👩🏻💻 Code examples:
1. Injecting props (theming): https://www.advanced-react.com/exampl...
2. Button with logging on click: https://www.advanced-react.com/exampl...
3. Passing data to HOC: https://www.advanced-react.com/exampl...
4. Logging on mount: https://www.advanced-react.com/exampl...
💬 Twitter: Twitter: adevnadia
💬 Linkedin: LinkedIn: adevnadia
4 ماه پیش
در تاریخ 1403/01/06 منتشر شده
است.
4,792
بـار بازدید شده