Stop Exploiting Boolean States in React.

When you first learn how to fetch data , the tutorials are always awfully simple. You fetch a list of items, put them into a state…