For testing purposes, I setup a dependency injection on my react component. I\'m not sure if it\'s the best practice. I got this warning React Hook useEffect has a mis
React Hook useEffect has a mis