React Hooks Api Intro - How To Use useState And useEffect

Recently React got new hooks api, that allows to have state in purely functional components. Let’s see how it looks like and experiment a bit!

Did you find this post useful? Show some love!

It is interesting how the hooks operate inside React, but I think that react is still far from functional.

I invite you to know this small project


Tbh I don’t understand why do we need state bound to component instance. 🤷‍♂️

Thank you for your comment, the state inside orby is simple and is less code than the use of hooks 🤓


I attach a small article that has been of my interest in the topic of hooks

Classic DEV Post from May 1

Do you think the differences between HTML and XHTML are generally well-understood?

React really threw a wrench in webdev by making XHTML cool. I think the subtle ...

Maksim Ivanov
Software development consultant, currently at DICE is where software developers stay in the loop and avoid career stagnation.

Sign up (it's free!)