re: Hooked on React hooks VIEW POST

FULL DISCUSSION
 

Great article!

Your explainations are clear and accessible.

I probably found a typo in your custom hook useFetchData inside the useEffect deps. You wrote [props.id] but maybe you meant to write [url] or something like this.

Cheers! 🦄

 

You are correct. That was a copy and paste error. I missed that.

Thank you 😊

 
code of conduct - report abuse