astro/.changeset/silent-walls-tan.md
Hlynur Sveinbjornsson 1cd7184ca6
Fix island deduplication ignoring props. (#2825)
* Fix island deduplication ignoring props.

Re-resolves an issue initially patched in https://github.com/withastro/astro/pull/846 but seemingly lost in the 0.21.0 mega-merge (d84bfe719a).
This change makes the component render step account for all props, even if they don't affect the generated HTML, when deduplicating island mount.

* Fix React component test using different rendered props to test deduplication.

* fix: improve serialization support for non-JSON objects

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-18 09:00:14 -04:00

426 B

astro
patch

Fix island deduplication ignoring props.Re-resolves an issue initially patched in https://github.com/withastro/astro/pull/846 but seemingly lost in the 0.21.0 mega-merge (d84bfe719a).This change makes the component render step account for all props, even if they don't affect the generated HTML, when deduplicating island mounts.