Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is it ok to use axios.delete – axios.post and get in same page

I am new in React/Node world, so i just wanted to ask, is it ok to use like 2-3 times axios in the same page. For example to use axios.get, axios.post and axios.get one more time? I wanted to creat new project and just checking ideas…

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Yes. You can have any number of ajax calls from a single page depending on your use cases. Especially where React is often used to build SPAs (single-page apps), you don’t have page loads between route changes, but you can perform many actions/calls to your server all on the same page.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading