Previously in Chapter 4, Frontend with React.js, we covered the powerful and popular React.js framework. Due to the power of GopherJS, there are now several open source projects that allow you to write React applications in Go. In this chapter, we'll cover one of these open source projects with the aid of an example, to offer us an idea about how to build a practical React application using Go.
GopherJS with React
The project
In this chapter, we'll build a very simple interactive web app using React. The app contains an input text and a button:
Whenever we type a name and then hit Submit, it gets added to a list on the screen, with the word Hello next to it:
The text input is interactive. So, as you type text,...