Your useFetchData example is wrong. Look at the function signature and how you call it.
True, late night posting.. Never a good idea. Fixed it, thanks.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.