r/learnreactjs • • Nov 08 '23
React fetch need help
Im new to react and was wondering if there is something special you need to do in order to fetch post data to a server? Or is it the same as regular javascript?
1
Upvotes
View all comments
2
u/[deleted] Nov 08 '23
There is the fetch api…Most people would use a fetching library like axios though
What happens after fetching is a whole other landscape. useEffect, Redux saga, react query bla bla bla