- When you open the browser and type in an incorrect route…into the location bar, nothing happens.…We need to let our users know, "Whoops!…"There's been a mistake," and help redirect them…to the appropriate route.…So, the first thing that we want to do is…create a Whoops404 component that will be displayed…when we don't know what route is being requested.…So I'm going to to up into my components here,…and I'm going to right-click over components…and select New File.…And I'm going to immediately save this file…as Whoops404.js.…

So now we're going to go ahead and create this component.…Just like any other, we need React.…Now let's just go ahead and code the Whoops404 component.…Whoops404…React.createClass,…and just like every component, we need the render function.…And just like every component that we've built,…we're using that ES6 syntax for the render function.…So now what I want to return is information to my user…that we don't know what they're looking for.…So, we will place all of this info in a div.…

I'll give it an id of not-found,…

Resume Transcript Auto-Scroll

Author

Released

9/9/2015

Socket technology is a natural fit for presentation and chat applications. This course helps you use Socket IO in combination with powerful JavaScript libraries to develop an interactive polling application that processes data in real time, allowing presenters to interact with audience members and graph their responses. Alex Banks shows each step in the process, starting with setting up the node environment and express app for development. You'll then create and connect sockets for real-time data sharing and set up routing and interface elements with React.js, refactoring those components for ES6 integration. This setup will allow you to program functionality for running presentations, joining presentations, asking and answering questions, and graphing the results of the poll.