BaseNative brings Angular-inspired control flow to native template elements with a small runtime core, server rendering, and CSP-safe template evaluation. The examples in this repo still use standard workspace tooling.
CSP-safe + keyedruntime direction
Nx + esbuildworkspace tooling
render + markersssr mode
0virtual DOM nodes
Features
Everything you need to build reactive server-rendered interfaces.
@if / @else conditional rendering
done
@for list rendering with track
done
@switch state matching
done
Signal-based reactivity
done
Server-side rendering
done
Client hydration
done
Expression binding (:attr, @event)
done
SSR + hydration example
done
How it works
Write standard HTML with template directives. BaseNative handles the rest โ server-side or client-side.