diff --git a/.changeset/hydration-inline-metadata.md b/.changeset/hydration-inline-metadata.md new file mode 100644 index 0000000..3826e82 --- /dev/null +++ b/.changeset/hydration-inline-metadata.md @@ -0,0 +1,5 @@ +--- +'@tanstack/redact': patch +--- + +Adopt server-rendered metadata that remains in the document body during hydration. This prevents React Router's production module-preload links from triggering body replacement and preserves the existing interactive DOM. diff --git a/benchmarks/results/hydration-inline-metadata/README.md b/benchmarks/results/hydration-inline-metadata/README.md new file mode 100644 index 0000000..191a09f --- /dev/null +++ b/benchmarks/results/hydration-inline-metadata/README.md @@ -0,0 +1,20 @@ +# Inline metadata hydration fix + +Release base: `0c7274e17a3fade8396169bc6ed024903cd1252d` (0.2.2). + +Before this fix, the document-hydration regression fails with `expected