DEV Community

Discussion on: How React components work?

Collapse
 
virajsingh19 profile image
Viraj Singh

I've seen many codebases using hooks most of the time and a top level Class component for Error boundary, as there's no official error boundary hook available.