Interactive starter projects for learning nojs — a type-safe web framework for building browser applications in Go using WebAssembly.
Learn the fundamentals of nojs by building a reactive counter component.
What you'll learn:
- How to create a component (struct + template)
- Reactive state with
StateHasChanged() - Data binding (
{Count}) - Event binding (
@onclick) - AOT template compilation
Prerequisites:
- Go 1.25+
- Make
- Python 3
Estimated time: 10 minutes
Start:
git clone https://github.com/ForgeLogic/nojs-tutorials.git
cd nojs-tutorials
git checkout counter-tutorialThen follow the tutorial guide.
- Build a Todo App — Learn lists, forms, filtering
- Create a Dashboard — Learn lifecycle hooks, signals
- Multi-Page SPA — Learn routing and layouts
Have an idea for a tutorial? Read CONTRIBUTING.md to learn how to add a new one.
- nojs GitHub — Main framework repository
- nojs Documentation — Main framework documentation