dioxus
dioxus copied to clipboard
Version 0.7.2 is a breaking change
As of version 0.7.2, children: Option<Element> no longer works with #[derive(Props)].
This breaks adui-dioxus.
Steps To Reproduce
Add adui-dioxus v0.1.2 to dependencies for any crate that uses Dioxus 0.7.2 .
$ cargo build
adui-dioxus was built fine with Dioxus 0.7.1, but your build will break when it tries to compile it with 0.7.2.
Expected behavior
Build should work
Environment:
- Dioxus version: 0.7.2
- Rust version: 1.92.0
- OS info: stable-x86_64-pc-windows-msvc
This was reverted in https://github.com/DioxusLabs/dioxus/pull/5110