~/talk

Go is Not Just on Your Server, it's in Your Browser: Intro to Vugu

Talkat GopherCon 2020 · 2020-11-09..11-13· [web-platform, webassembly]
links:none on file
slides:none on file

Vugu compiles .vugu single‑file components into Go source with vugugen, then builds a WebAssembly .wasm that runs a Go runtime in the browser and synchronizes a virtual DOM to the real DOM. It supports declarative directives like vg-if, vg-for and vg-content, lifecycle callbacks, hot reload, a router, server‑side rendering option, and tinygo for smaller binaries (current wasm builds are a few megabytes). Live demo fetches JSON via http.get and renders raw HTML via an html interface.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39Agenda
  3. 4:33Memory Lane
  4. 6:11Whats the Pattern
  5. 8:14How Vugu Works
  6. 12:47vgrun
  7. 14:48entry endpoint
  8. 16:37entry type
  9. 18:03init
  10. 24:09reactive user interfaces
  11. 29:40recap
  12. 30:31Single file components
  13. 31:37DOM events
  14. 32:11CSS
  15. 32:51Vugu Content
  16. 34:59Dynamic Attributes
  17. 35:42Static Components
  18. 36:38Dynamic Components
  19. 37:03Life Cycle Callbacks
  20. 37:23TinyGo
  21. 38:04ServerSide Rendering
  22. 38:51URL Router
  23. 39:11Variable Binding
  24. 39:32Modification Tracking
  25. 39:58Slots
  26. 40:23Forms
  27. 41:58Roadmap
  28. 42:08Component Libraries
  29. 46:29Style vs Functionality
  30. 54:27Thanks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.