diff options
author | 2022-03-18 09:00:14 -0400 | |
---|---|---|
committer | 2022-03-18 09:00:14 -0400 | |
commit | 1cd7184ca6fa6e60a69918e461f42c055e8a795e (patch) | |
tree | fca4f104430184b13ae5e823220f9671a477e416 /packages/integrations/react/static-html.js | |
parent | 0af017b9fc8abc8aa101ada7e28e9e738d166807 (diff) | |
download | astro-1cd7184ca6fa6e60a69918e461f42c055e8a795e.tar.gz astro-1cd7184ca6fa6e60a69918e461f42c055e8a795e.tar.zst astro-1cd7184ca6fa6e60a69918e461f42c055e8a795e.zip |
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 (https://github.com/withastro/astro/commit/d84bfe719a546ad855640338d5ed49ad3aa4ccb4).
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>
Diffstat (limited to 'packages/integrations/react/static-html.js')
0 files changed, 0 insertions, 0 deletions