DEV Community


Discussion on: From no programming experience to web developer in 19 small steps

medxone profile image

class components and functional components and how to use state and hooks, so I have a little idea it's to calculate the rate of rooms based on how much night they needed like that? u understand what I'm talking about />

Thread Thread
catmcgeecode profile image
Cat McGee Author

You’re well on your way then! I’m still not sure exactly what you’re confused about, but hooks can only be used with functional components, and they can do loads of things including updating the state.

Good luck!