Tavo.js glossary
Look up the framework terms used throughout Tavo.js guides and API references.
Application and routing terms
| Term | Meaning in Tavo.js |
|---|---|
| Route | A public URL pattern discovered from a non-underscore module in src/pages. |
| Page module | The file that supplies a route component and optional loader, action, middleware, metadata, and render policy. |
| Layout | A _layout.tsx module that wraps matching descendant routes and may own its own loader, middleware, and metadata. |
| Route group | A folder in parentheses that organizes routes or layouts without adding a URL segment. |
| Loader | Request-owned read operation that resolves data before a route or layout renders. |
| Middleware | Ordered route work that either continues resolution or redirects before loaders run. |
| Action | A server handler for a non-GET request to a route, normally used for mutations and forms. |
| Hydration | Attaching Tavo.js's browser runtime to server-rendered HTML using the same serialized route state. |
Rendering terms
| Term | Expanded form | Meaning in Tavo.js |
|---|---|---|
| CSR | Client-Side Rendering | The server sends a document shell and the browser resolves and renders the route. |
| SSR | Server-Side Rendering | Tavo.js resolves and renders the route for an incoming request, then the browser hydrates it. |
| SSG | Static Site Generation | Tavo.js prerenders selected SSR routes during the production build. |
| ISR | Incremental Static Regeneration | A runtime caches SSR output and refreshes it after the route's revalidation interval. |
| Deferred boundary | — | An SSR streaming boundary that sends fallback content before optional promise-backed content settles. |
State and extension terms
| Term | Meaning in Tavo.js |
|---|---|
| Model | Reactive state owned by one mounted createTavo component. |
| Controller | Component behavior, lifecycle, services, and managed side effects in createTavo. |
| Store | Observable state container; a global store is for browser state shared by multiple consumers, not request identity. |
| Resource | Component-owned asynchronous read state with loading, success, error, reset, and cancellation behavior. |
| Plugin | A manifest-backed framework integration with lazy client, server, and build phase implementations. |
| Server-only module | A module Tavo.js prevents from entering the client bundle, normally under src/server or marked with the server-only import. |
Look up exact public types
Follow linked API names to their canonical TypeScript declarations and package boundaries.