Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Sep 5, 2025

When we switched from having a single attribute per mount slot to many per mount slot, the hydration logic wasn't changed. We currently only hydrate nodes that have any real attributes attached to them which causes issues with empty spread attributes. They have a slot we need to keep track of where attributes could be inserted in the future, but don't have any attributes today. This PR fixes that issue and adds a regression test

After this, #4640, and #4600 the component library works out of the box with hydration

Fixes #4646

@ealmloff ealmloff requested a review from a team as a code owner September 5, 2025 21:16
@ealmloff ealmloff added bug Something isn't working fullstack related to the fullstack crate labels Sep 5, 2025
@jkelleyrtp jkelleyrtp merged commit 03801e1 into DioxusLabs:main Oct 4, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fullstack related to the fullstack crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty spread attributes sometimes breaks hydration

2 participants