Closed nissy-dev closed 3 months ago
This is a reason. dioxus doesn't allow a fragment with 0 elements to make a diffing algorithm faster and simpler.
it is impossible to craft a fragment with 0 elements - they must always have at least a single placeholder element.
If title props is empty value, empty title tag is created in HTML and it is not good. To avoid this, I tried to use "conditional rendering" but https://github.com/DioxusLabs/dioxus/issues/500 happened.
I will look into this issue now