V
V
VloVer2020-07-11 19:44:02
React
VloVer, 2020-07-11 19:44:02

Why does React app reload on axios.post?

The bottom line is this: I want to upload a post to the db using axios.post, but when I click on the add button, I upload a new post, it is displayed for a second, then the page is reloaded, and it is already displayed, what can it be connected with?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question