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

4 comments sorted by

View all comments

1

u/lovesrayray2018 Nov 08 '23

The way the fetch api works is the same whether you use vanilla JS or thru react

1

u/[deleted] Nov 08 '23

Great thank you! 👍😊