Answer the question
In order to leave comments, you need to log in
How to get rid of extra network requests in React?
Guys, welcome) there was one problem. I don't understand how to solve it. The project has several linked pages. there is a search page and when you click on the illustration, you get to the illustration page. react-router is used for routing and axios for sending requests. the essence of the problem is that the requests that I made on the search page are sent to the internal page. those. why requests from one page are also called on another page. I can't understand it. Can you please tell me where to look for the problem? there are basically no requests on the illustration page right now, but they are being sent. thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question