DEV Community


Discussion on: When to use Class Component and Functional Component??

dylanesque profile image
Michael Caveney

The only reason to use Class Components with modern React I can think of is if you need to use Error Boundaries since there isn't a function version of these.....yet.

Some comments have been hidden by the post's author - find out more