Netlify adapter
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
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 HTMLStream append
Independent stream results arrive in order without placeholders.
Progressive HTMLStream rows
One script yields a row at a time; each covers a skeleton row.
Server + stream scriptsMixed execution
Server work completes before the shell and streamed result.
Request-time componentsServer-rendered cards
Turn book titles from the URL into cards on each request, with props, slots, scoped CSS, and a nested stock script.
Streamed componentsStreamed cards
Book cards arrive in separate batches from stream scripts.
GET /api/pingAPI client
Make a request from the page and inspect the JSON response.
Expected failuresError demo
Explore server, stream, timeout, and API error handling.
Static HTML + client scriptsStatic interactivity
A static page served without a server invocation, with independent interactive components powered by scoped client scripts.