O'Reilly logo

Developing a React Edge, 2nd Edition by Simon Højberg, Frankie Bagnardi, Richard Feldman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. Other uses

React is a powerful interactive UI rendering library, but it provides a great way to handle data and user input. It encourages small components that are reusable and easy to unit test. These are all great features that you can apply to other technologies than just the web.

In this chapter we’ll look at how to use React for:

  • Desktop applications
  • Games
  • Emails
  • Charting

Desktop

With projects like Electron or node-webkit you can run a web application on the desktop. The Atom Editor from Github is built with Electron, which you can also use with React.

The sample app already includes Electron, and to launch it, run this command in the root of the sample app:

./node_modules/.bin/electron desktop.html

Running Electron with  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required