travisstaloch/snap-wasm-vdom
Reactive immediate DOM rendering with Wasm in Zig
Reactive immediate DOM rendering with Wasm in Zig. Compiles to a small WebAssembly binary.
snap.renderTemplate()
See src/snap-demo.zig
for a demo app with a counter and todos.
zig build --release=small
python -m http.server
open localhost:8000 in your browser
The library is designed around:
This project is in early development. Contributions welcome!
zig build test
passesMIT License - see LICENSE file for details.
Component system architecture
Server-side rendering support
Performance optimizations
More comprehensive examples
Note: This is version 0.x software. APIs may change.