paint-brush
Setting up Web Sockets with Socket.ioby@gregfilipczak
3,137 reads
3,137 reads

Setting up Web Sockets with Socket.io

by Greg FilipczakJuly 30th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This past week at <a href="https://www.vikingcodeschool.com/immersive" target="_blank">Viking</a>, we learned about web sockets using <a href="https://socket.io/" target="_blank">socket.io</a> to build a chat room. I’ll boil that project done to its most basic for this post and explain some of the trickier parts in this post. Web sockets are a really interesting topic and also make a fun project to help learn about the difference between statefulness and statelessness and a good refresher on emitting and listening to custom events. What’s more, it’s really satisfying to see realtime data feeds updating multiple brower windows at once. Let’s dive in.
featured image - Setting up Web Sockets with Socket.io
Greg Filipczak HackerNoon profile picture
Greg Filipczak

Greg Filipczak

@gregfilipczak

L O A D I N G
. . . comments & more!

About Author

Greg Filipczak HackerNoon profile picture
Greg Filipczak@gregfilipczak

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite