Thus, to connect a React frontend with a NodeJS backend, we need to utilize the useEffect hook and the async function fetch() . useEffect will allow us to only run our fetch request once (when the component gets mounted) which will avoid slowing down our app.6 Haz 2021