Overview

Static pages from the CDN. Server scripts when you need them. Explore real Bascik components, streaming HTML, and API routes on Netlify Functions.

Explore rendering features

<script data-bascik-server>

Server scripts

Render a greeting and platform context for every request, before headers commit.

<script data-bascik-stream>

Stream swap

The shell arrives first. Delayed content follows, even with JavaScript disabled.

Progressive HTML

Stream append

Independent stream results arrive in order without placeholders.

Progressive HTML

Stream rows

One script yields a row at a time; each covers a skeleton row.

Server + stream scripts

Mixed execution

Server work completes before the shell and streamed result.

Request-time components

Server-rendered cards

Turn book titles from the URL into cards on each request, with props, slots, scoped CSS, and a nested stock script.

Streamed components

Streamed cards

Book cards arrive in separate batches from stream scripts.

GET /api/ping

API client

Make a request from the page and inspect the JSON response.

Expected failures

Error demo

Explore server, stream, timeout, and API error handling.

Static HTML + client scripts

Static interactivity

A static page served without a server invocation, with independent interactive components powered by scoped client scripts.