DEV Community

Discussion on: React hooks for noobs

Collapse
 
elmadavis profile image
elmadavis • Edited

Java always requires a class to run the code. I didn’t get a clear concept of this Hook method. I am developing an application for my client cv help uk - cvwritings.co.uk. I am totally getting confused about how to run this method. I’ve tried it without creating a class. It was still showing errors.