Someone once asked on Twitter about the concrete, real-world benefits of ES6 (or ES2015, as it’s officially known, despite nobody calling it that). It seems the benefits would be a bit difficult to measure: ES6 mostly just adds convenience. How does a convenience-feature benefit us? If you think about it, convenience makes code easier to write. When we have more …
Using WebRTC and React to build a basic chat server
In this article, we’re going to look at how to use WebRTC to relay chat messages between browsers in a React application. Last time we learned how to store and handle data in a React app. If you’ve just looking to learn about React and WebRTC, you should be able to follow this without reading the previous entries in the …
React application data-flow: Where and how to store your data?
This is the third article in the series where we build a Slack-style chat app with React. Last time we set up NPM and Browserify for our project. With the tooling set up, we can focus on building our application’s features again. The first feature I want to add is of course having multiple chat participants. But our code is …