Answer the question
In order to leave comments, you need to log in
How to make an Ajax request with React js?
Hello. There is such a task: It is
necessary to write a ReactJS application that will request this json with an AJAX request: demo.omnigon.com/pgatdemo1/mikeg/products.json .
And then display the received goods in the form of a list.
But the problem is that I don’t know React yet, and I can’t find the exact information where to see how to do it. Help me to understand)
Answer the question
In order to leave comments, you need to log in
For Ajax requests, you can use Fetch or Axios.
I advise you to choose the second one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question