Release: framework fixes, plugin split, registry merge, lighter docs - #9
Merged
Merged
Conversation
…lient bundles Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
plugin.ts kept only the plugin hooks. MDX compilation, typecheck output, globals, virtual modules, CSS discovery, static output, options, and package paths now live in their own files under src/vite. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The docs app and the shadcn registry now share one set of component files in apps/docs/src/components/ui, with registry.json next to them. This removes the drifted copies of header and section and the separate @fulldotdev/ui package. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ThemeToggle now renders with the default theme on both server and first client render and reads the stored preference after mount, so hydration never mismatches. It works standalone as an island, and a ThemeScript component replaces hand-written inline scripts in consumer layouts. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The docs shell no longer hydrates as one island around the whole page. The sidebar and header are static HTML; the mobile navigation sheet hydrates only on small screens through client:media and the theme toggle hydrates on idle. Desktop pages drop from roughly 126 kB to 72 kB of gzipped JavaScript. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A cold dev server discovered island dependencies lazily, re-optimized mid-load, and reloaded the page, which briefly ran two React copies and logged invalid hook call errors. The plugin now hands Vite the island files and the hydration runtime dependencies up front. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Merged
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.
Summary
Framework (
@fulldotdev/sitex, patch release via the included changeset):.sitextype files, fixing the client/ssr race on.sitex/typecheck.client:*directive in dev refreshes the island registry without a restart.client:*directive no longer pullreact-dom/staticinto browser bundles (new browser-side island wrapper).plugin.tssplit into focused modules undersrc/vite(behavior-identical build output).Docs and registry:
packages/uimerged into the docs app: one set of component files inapps/docs/src/components/uiwithregistry.jsonnext to them. Removes the drifted header and section copies.client:media, theme toggle on idle). Desktop docs pages drop from about 126 kB to 72 kB of gzipped JavaScript.ThemeScripthead component.pnpm build.Verification
pnpm readypasses.🤖 Generated with Claude Code