When you need to fetch some data for a React component, where do you do it? This question comes up all the time. There are two common places to fetch data in class components, and both are lifecycle methods: componentWillMount componentDidMount With the addition of React Hooks, there’s a new place to fetch data with the useEffectHook. Read that article for more on useEffect; in this article I’ll f