/go-tea

Go WASM VDom library & Elm-like MVU framework

Primary LanguageGoApache License 2.0Apache-2.0

GoDoc

This contains a Go library for writing client-side web interfaces, in the model-view-update style of the Elm architecture ("TEA").

It contains a simple package vdom for working with Virtual DOMs, as popularized by React.JS. When compiled to WASM, package vdom supports patching the DOM via the syscall/js package. vdom can be used stand-alone.

This library is experimental, but I am currently using it in Tempest.

There are some example applications in the examples/ directory.