@nifrajs/web

Framework-agnostic SSR core for nifra - the render seam + HTML document orchestration.
13,975 6
Install
npm install @nifrajs/web
Latest Version:5.5.1
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: devform

@nifrajs/web

Optional server components are implemented for React, Vue, Svelte and Solid in the post-4.0 feature branch. React uses native RSC/Flight; the other adapters use native islands in validated server ranges. Definitions require closed input/public-props schemas and authorization. Refresh executes the actual owner GET, preserving admission, read capabilities, budgets and cancellation; output is private/no-store. Mutate through validated server functions or actions.

Use the /server-components, /server-components/client, /server-components/islands and /server-components/build exports with an explicit componentPipeline named config export. See the server-components guide and the four runnable repository examples for complete entries, native outlets, exact compiler pins and rollback.

Framework-agnostic SSR core for nifra - the render seam + HTML document orchestration.

Part of the nifra full-stack TypeScript framework - one core, five UI libraries, every runtime. Scaffold a new app with bun create nifra.

Guarding pages

A _layout.backend.ts loader is data, not a guard: a client navigation can skip it while the browser keeps the layout's data, and an action below it runs without it. Refuse access in that file's middleware, or export gate = true so its loader runs on every request and before every action, ahead of the page loader. In development, nifra warns when a layout loader without gate refuses a request, and nifra check reports one whose refusal it can read (NF-C042). See Layout loaders on navigation.

Install

bun add @nifrajs/web

Docs

MIT

For AI agents

Start with LLM.md - this package's contract card (the exports you call + its footguns), one cheap read instead of the whole corpus. For the wider framework: the repo's AGENTS.md is the copy-paste quick reference, and llms-full.txt is the full machine-readable corpus. Run nifra check as the done-gate, or nifra mcp to give the agent live project tools.

Related Packages

@gracile-labs/islands

Islands architecture add-on for Gracile — SSR and hydrate components from any fr...

2,451 54
@nifrajs/web-vue

Vue render adapter for @nifrajs/web - streaming SSR + hydration, with a .vue SFC...

9,990 6
@esmx/core

A high-performance microfrontend framework supporting Vue, React, Preact, Solid,...

8,645 680
@gez/core

A high-performance microfrontend framework supporting Vue, React, Preact, Solid,...

5,868 680
@formkit/auto-animate

Add motion to your apps with a single line of code.

42,768,396 13,935

Version History

Version Released License
5.5.1 MIT
5.5.0 MIT
5.4.0 MIT
5.3.0 MIT
5.2.0 MIT
Pre-releases (11)
Version Released License
1.0.0-beta.4 MIT
1.0.0-beta.3 MIT
0.1.0-beta.2 MIT
0.1.0-beta.1 MIT
0.1.0-beta.0 MIT