re: React Beginner Question Thread ⚛ VIEW POST

VIEW FULL DISCUSSION
 

Hi Dan!

Might be a very stupid question but are there any advantages/disadvantages in declaring a constructor vs not declaring a constructor in a class-based component?

Thanks for all your great work!

code of conduct - report abuse