View components in pure Go, that render to HTML 5.
https://www.gomponents.com
8de5a685ef
Especially add elements that are either used in every document, that nearly always have text content, or that are almost always used with certain attributes. |
||
---|---|---|
.github/workflows | ||
assert | ||
attr | ||
el | ||
.editorconfig | ||
.gitignore | ||
go.mod | ||
gomponents_test.go | ||
gomponents.go | ||
LICENSE | ||
Makefile | ||
README.md |
gomponents
gomponents are components of DOM nodes for Go, that can render to an HTML Document. gomponents aims to make it easy to build HTML pages of reusable components, without the use of a template language. Think server-side-rendered React, but without the virtual DOM and diffing.
The implementation is still incomplete, but usable. The API may change until version 1 is reached.