DEV Community

Discussion on: How to Use a React Hook in a Class Component

Collapse
 
jdnichollsc profile image
J.D Nicholls

It would be great to analyze the performance of this strategy because we're using a HOC to be able to inject a hook in a class component, so in every render that node is mounted again as I know, thanks for sharing this crazy experiment!