loading...

re: The neatest way to handle alert dialogs in React 🥰 VIEW POST

FULL DISCUSSION
 

This use react hook and does that mean we can only use this in function component not class component?

 
 

Just in case you're still wondering, class components can't use hooks.

Code of Conduct Report abuse