Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hot reloading component removal with formatted attribute values #3559

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Jan 13, 2025

After removing a component with dynamic property, the hot reloading engine was logging because those attributes were no longer present in the dynamic property list when the component was created. The properties not being in the list isn't actually an issue because the component is not added to the rsx after being created. Instead of logging this PR just inserts a default value for the property

Fixes #3459
Fixes #3431

@ealmloff ealmloff added bug Something isn't working core relating to the core implementation of the virtualdom hot-reload Related to the hot reload crate labels Jan 13, 2025
@ealmloff ealmloff force-pushed the fix-remove-component-hot-reload branch from eff6f2c to 7a9706b Compare January 13, 2025 18:39
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 hot-reload Related to the hot reload crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component hot reloading bug Unused asset! causes an error
1 participant