Hot reloading
Desktop hot reloading has changed in the 0.4
release to use the Dioxus CLI for all platforms.
Previously, you may have included the hot_reload_init!
macro in your main function. This is no longer needed.
old:
fn main() { hot_reload_init!(); // ... }
new:
fn main() { // ... }
Now you can run your project with the dioxus CLI by passing the --platform
flag:
dx serve --platform desktop --hot-reload