DEV Community

loading...

Discussion on: the correct way to fetch data with react hooks

nicomartin profile image
Nico Martin Author

Yes, that makes sense. I guess React does not see "datasource" as a component and therefore you can't use a hook inside of it. But if you lear it bottom up with udemy thats definately a great idea!
Have fun!

Forem Open with the Forem app