April 2018
Beginner to intermediate
406 pages
9h 33m
English
We have a channel that we can join and some basic JavaScript, but without it actually doing something more interesting I don't think we'll have enough people using the site to make it worthwhile. We need to get some code in place that will help us mediate the sending and receiving of messages between our client and our server! The good news is that the code to do that is just as simple as the code we've already written to handle our client joining and subscribing to a particular topic. The problem right now, however, is that our code dealing with the polls topic is always firing, no matter what page it's on.