an alternative to some goodness of this.setState()
So, it’s been quite some time since react hooks were released. and from the looks of it, everybody is going gaga over them. Well, i understand. because i’m one of you too. Hooks got me hooked!
hooks allow us to create smaller, composable, reusable more manageable react components.