While writing a React app, I run in a problem that can be simplified like this:
const [prjToFetch, setPrjToFetch] = React.useState([]); React.useEffect((