useState and useEffect
A brief tutorial on the three main hooks provided by the React API
Tags: react, hooks, codenewbie