the correct way to fetch data with react hooks
a short introduction how React hooks can be used to solve messy state handling in React-Components
Tags: react, preact, hooks, fetch