Server-rendered cards

Book components are generated by a server script for each request. Change the query to filter the catalog; the nested card script also renders request-specific stock information.

Try monolith or a query with no match.

Refactoring the Monolith

Grace Lin

Best seller

Live stock check

Refactoring the Monolith

Grace Lin

Live

Copies in stock · checked for /catalog at request time

What the script returns

The component tags are generated at request time, then rendered with props, slots, scoped styles, and a nested server script.

<book-card data-bascik-prop-title="Refactoring the Monolith">…</book-card>

Next: Watch the same tiles stream in batches on the streamed cards.