fix: make <Head> work in client#3252
Merged
Merged
Conversation
5e1313e to
32ed202
Compare
<Head> work in client
ffd57b5 to
52366ab
Compare
52366ab to
a0d5505
Compare
a0d5505 to
4666035
Compare
Resolve conflict in dev_server_test.ts: keep all new tests from main and update Head test to use persistent demoServer pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…op delete Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
f23c26d to
c1f90bb
Compare
- Dynamic meta updates: verify meta content changes reactively on re-render - Link element: verify <link rel="canonical"> works in Head - Multiple islands with Head: verify two islands can each inject Head elements - Title updates multiple times: verify repeated state changes update title - SSR link test: verify link element replacement in server rendering Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Skip href from cache key for <link> elements (mirroring how content is skipped for <meta>), so a route's <Head> can override link elements from the app wrapper. Also add client-side matching by rel attribute. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Document dynamic head updates from islands with example - Add <link> element deduplication by rel attribute to the list - Fix em dashes in docs to match style guide Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ari4ka
approved these changes
Mar 30, 2026
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.
Not sure how I missed this :S
Closes #3310