Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Dec 17, 2025

Before #4995, the children prop expanded to a prop with a default of Default::default() which worked for both Element and Option<Element>. After the fix, it expands to only VNode. This resulted in a breaking change in the last release for components like the component library that used Option<Element>

This PR expands the children default to Default::default() if it is an option which fixes the regression

Fixes DioxusLabs/components#174

@ealmloff ealmloff requested a review from a team as a code owner December 17, 2025 14:24
@ealmloff ealmloff added bug Something isn't working core relating to the core implementation of the virtualdom labels Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core relating to the core implementation of the virtualdom

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant