Repository navigation
feat: add static site generation with resumable islands - #61
Merged
Marcisbee merged 1 commit intoOct 22, 2026
Merged
Conversation
Marcisbee
marked this pull request as ready for review
October 22, 2026 11:13
Marcisbee
deleted the
kode/5Ix7MrCp-add-simple-static-site-generation-with-i
branch
October 22, 2026 11:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate documentation and other static sites through
radi/static.generateStaticSiterenders async page content into complete HTML documents, validates routes before writes, and awaits an application-provided writer so storage and asset bundling remain independent of the runtime.Interactive pages use the existing explicit resumption API. Their blocking bootstrap runs before interactive HTML; lazy handlers operate on the original DOM. Plain pages need no JavaScript. Native reactive functions are evaluated at build time: their markers do not identify client modules or capture closure state, so automatic activation of arbitrary closures is not supported.
Includes a complete two-page build/preview example, usage documentation, npm/Deno exports, and CI coverage. The example deploys as static files with two independently resumable counters. Output cleanup and atomic deployment remain the writer's responsibility.
Validation: 4 static-site tests passed, including real Chromium against generated files with JavaScript disabled, delayed handler loading, independent state, and DOM retention. All 312 existing browser tests and 10 server tests passed. npm build and Node smoke import of the packaged API passed. Refreshed against origin/master before handoff.