Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2026 Changes in this version + func Render(root Node, selector string) — js/wasm + func UseCallback[T any](fn T, deps ...interface{}) T — js/wasm + func UseEffect(effect func() func(), deps ...interface{}) — js/wasm + func UseId() string — js/wasm + func UseMemo[T any](compute func() T, deps ...interface{}) T — js/wasm + type ChangeEvent = runtime.GoEvent — js/wasm + type Event = runtime.GoEvent — js/wasm + type FocusEvent = runtime.GoEvent — js/wasm + type FormEvent = runtime.GoEvent — js/wasm + type Handler struct — js/wasm + func RawHandler(value interface{}) Handler + func UseEvent(fn interface{}) Handler + func (h Handler) Value() interface{} + type InputEvent = runtime.GoEvent — js/wasm + type KeyboardEvent = runtime.GoEvent — js/wasm + type MouseEvent = runtime.GoEvent — js/wasm + type Node = *runtime.Element — js/wasm + func CreateElement(component interface{}, props ...interface{}) Node + func Fragment(children ...Node) Node + func Text(content string) Node + type Ref struct — js/wasm + func UseRef[T any](initialValue T) Ref[T] + func (r Ref[T]) Get() T + func (r Ref[T]) Set(value T) + type State struct — js/wasm + func UseState[T any](initialValue T) State[T] + func (s State[T]) Get() T + func (s State[T]) Set(value T) + func (s State[T]) Update(fn func(T) T) Other modules containing this package github.com/monstercameron/GoWebComponents/v4