Chapter 14. Developing a blockchain client in React.js

This chapter covers

  • Reviewing a blockchain web client written with React.js
  • How the React.js web client communicates with the WebSocket server
  • Running a React app that works with two servers in dev mode
  • Splitting the UI of a blockchain client into components, and arranging their communications

In the previous chapter, you learned the basics of React, and now we’ll review a new version of the blockchain app with the client portion written in React. The source code of the web client is located in the blockchain/client directory, and the messaging server is located in the blockchain/server directory.

The code of the server remains the same as in chapters 10 and 12, and the functionality ...

Get TypeScript Quickly now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.