Skip to content

Clarify default template and run hook docs#11407

Open
mjackson wants to merge 3 commits into
mainfrom
mjackson/template-document-layout
Open

Clarify default template and run hook docs#11407
mjackson wants to merge 3 commits into
mainfrom
mjackson/template-document-layout

Conversation

@mjackson
Copy link
Copy Markdown
Member

@mjackson mjackson commented May 15, 2026

This makes the default starter app and the remix/ui runtime hooks easier to understand without changing the starter page content.

  • Routes the default remix new home page through the shared Document and Layout shell while preserving the existing welcome content, links, prompts, font loading, and entry script behavior.
  • Inlines the server-side resolveFrame function in the renderToStream() options object so the default server render setup mirrors the browser run() setup shape.
  • Adds JSDoc for the run() loadModule and resolveFrame hooks, including callback parameter and return guidance for client-entry hydration and browser-loaded frames.
  • Adds change notes for the CLI scaffold update and UI editor-hint documentation.

@github-actions
Copy link
Copy Markdown
Contributor

Preview Build Available

A preview build has been created for this PR. You can install it using:

pnpm install "remix-run/remix#preview/pr-11407&path:packages/remix"

This preview build will be updated automatically as you push new commits.

@mjackson mjackson changed the title Route default template through shared document layout Clarify default template and run hook docs May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant