MENU

Fun & Interesting

Using Composition in React to Avoid "Prop Drilling"

React Training 89,270 5 years ago
Video Not Working? Fix It Now

You can compose your React components in different ways to avoid passing props down multiple levels, thereby increasing your component's flexibility PLUS making it more explicit. This video was made in response to some of the replies to this tweet: https://twitter.com/mjackson/status/1195431511417208834

Comment