React hooks

I use useState, useEffect and useContext now instead of extending Component from React. It works pretty well!