SSR by default
Useful HTML reaches the browser immediately. Interactive pages hydrate only the runtime they use.
page Home { seo { title = "Home" description = "WRNexusJS documentation: build secure, server-rendered, reactive applications with Bun." } view {
An SSR-first, Bun-native framework with reactive .wrn components, typed data, realtime rooms, mobile capabilities, and production security built in.
page Counter {
state count = 0
view {
<button @click="count++">
Count {count}
</button>
}
}Useful HTML reaches the browser immediately. Interactive pages hydrate only the runtime they use.
CSP, Trusted Types, CSRF, sessions, validation, authorization, encryption, and safe rendering are integrated.
Share markup through Capacitor or compile portable pages into Expo and React Native routes.