+ 3

How can I keep the chat live without sending XMLHttpRequest every 100ms;

Description of problem is here: https://code.sololearn.com/WrkKB3c6W0sB/?ref=app

8th Apr 2018, 5:45 AM
Amadeus
Amadeus - avatar
5 Antworten
+ 12
🇵🇱Amadeus if you intend to use node.js as the backend then of course there are plenty of tutorials available so my suggestion is find a nice tutorial for socket.io + node.js and try to understand the inner working of it explore any line of code you don't understand in the tutorial. eventually it will become clear
8th Apr 2018, 10:30 AM
Burey
Burey - avatar
+ 13
you should use web sockets (if you aren't) https://socket.io
8th Apr 2018, 6:07 AM
Burey
Burey - avatar
+ 3
@Burey Should I learn Node.js before using Socket.io?
8th Apr 2018, 6:55 AM
Amadeus
Amadeus - avatar
+ 2
What is the name of your app ? is it available in play store ?
8th Apr 2018, 6:26 AM
Vinyas Amin
Vinyas  Amin - avatar
+ 2
they blocked my domain:( so all my codes using my js codes from www.tesseract.cba.pl won't work
8th Apr 2018, 7:30 AM
Amadeus
Amadeus - avatar