Creating interactive frontend apps with GopherJS and React
summary
Claim: write real browser UIs in Go and never hand-edit JavaScript. Uses GopherJS → JavaScript to compile nearly the whole Go language (goroutines, most std lib, source maps), a React wrapper myitcv.io/react + reactgen that auto-generates type-safe props/state glue, and go generate to keep boilerplate down. Demos: markdown preview, to‑do list, an interactive gopher editor and a working browser client calling a Go back end via gRPC‑web — all running live in the page, with reasonable runtime performance.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:22Definitions
- 4:52Examples of Interactive Front-End Apps
- 6:40To-Do App
- 9:26The Document Object Model
- 16:29Source Map Support
- 18:10What Is React and Why React
- 19:22Fundamentals of React and Components
- 26:32Go Generate
- 26:58Cogeneration
- 27:54React Component
- 30:47Render Method
related talks
35mTeleport your application
15mReact with gRPC
29mEvolving the Visual Programming Environment with React
30mNative Web Apps: React, JS & WebAssembly to rewrite native apps
21mReact Beyond the DOM
01h 49mPurely Functional Web Apps using React and PureScript
25mPerformance Without Compromise
38mBuilding Isomorphic Web Applications with React
