I was trying to figure how to automatically update my website without reloading the page, I found out about AJAX but couldn’t find a good tutorial, is this current? And if it is anyone willing to show me how to use it?

I would use fetch over ajax:


some people recommend axios.js because of some shortcomings of fetch, i haven’t read too much about it, so if you think fetch won’t cut it, read about axios

furthermore, if you want to have constant communication between client and server (chat application for example), go for websocket.

Thank you, that was exactly was I was looking for,.