ui

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package ui provides the preferred public component API for GoWebComponents.

It exposes:

  • CreateElement for component composition
  • Render for browser mounting
  • UseState, UseEffect, UseMemo, UseRef, and UseId for local stateful logic
  • UseEvent for typed event handler wrapping

The ui package is the recommended replacement for the older dom/hooks/render split when authoring new components.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL