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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.