This example demonstrates the current GOX component model:
- capitalized function components;
- typed
<ComponentName>Propsstructs; - component children through
[]gf.Node; - fragments;
- expressions and state updates.
goxc package ./examples/components --compiler=tinygo
goxc size ./examples/components
goxc serve ./examples/components --port=8080The manifest selects TinyGo by default. Use --compiler=go for standard Go
compatibility mode. Generated files stay under .goframe and should not be
committed next to authored .gox files.