Open JMS55 opened 8 months ago
Event
and Component
are the biggest conflicts.
In my usage I've tried renaming imports so I can do dx::Event
, but I'd prefer if they all came from bevy_dioxus::prelude::*
, or maybe from bevy_dioxus::dioxus_types::*
.
I've tried searching about correct patterns for doing this, but haven't found any standard answer yet. In my opinion, without knowing any better, I'd image that bevy_dioxus::dioxus_types::*
exports everything but renames only the conflicting types (e.g. DioxusEvent
, DioxusComponent
, widget
).
What do you use Component for? But yeah I'll probably rename Event and #[component].
I was wrong, Component
isn't an issue :)
Event
andComponent
are the biggest conflicts.In my usage I've tried renaming imports so I can do
dx::Event
, but I'd prefer if they all came frombevy_dioxus::prelude::*
, or maybe frombevy_dioxus::dioxus_types::*
.I've tried searching about correct patterns for doing this, but haven't found any standard answer yet. In my opinion, without knowing any better, I'd image that
bevy_dioxus::dioxus_types::*
exports everything but renames only the conflicting types (e.g.DioxusEvent
,DioxusComponent
,widget
).
Open questions: