Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
Hooks can replace some render props, but not all of them. Hooks can't render anything, they can't set values on context (even though they can consume values), and they can't implement error boundaries. Given these limitations, you may still find yourself using render props from time to time. Hope it will help you
16th Aug 2020, 10:58 AM
Mady_is_here
Mady_is_here - avatar