-
Hi floemers, I was looking for the means to rebuild the contents contents of an entire window or the entire application. Looking through the APIs I noticed that:
So, I was wondering if it would be possible to get or add a hook for either:
? For context, I'm trying to build hot reload/restart capabilities. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
The easiest way is probably to use |
Beta Was this translation helpful? Give feedback.
-
@dzhou121 that's awesome, this gets me 90% there. I was able to add a button to the UI to rebuild the entire widget tree. Do you have a suggestion for me on how to drive it externally? Signals under the hood deep on the thread-local
Thanks! |
Beta Was this translation helpful? Give feedback.
The easiest way is probably to use
dyn_container
at the root. Then you can swap what's inside thedyn_container
as you like.