-
-
Notifications
You must be signed in to change notification settings - Fork 944
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
Removing last node from rsx block fails to hot reload #3562
Comments
Good catch! Dioxus doesn't allow the roots to be empty. It always renders something even if it is an empty comment node (placeholder) so it can be replaced easily later. We had some logic for this when expanding rsx normally, but it wasn't being applied during hot reloading. #3567 moves it to the parse implementation which is used by both normal expansion and hot reloading |
Good job! |
Problem
When moving from a rsx block with one component to zero, the CLI says the change is hot reloaded, but the UI is not updated
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The change should be hot reloaded
Screenshots
Environment:
master
,0.6.1
nightly
web
The text was updated successfully, but these errors were encountered: