mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-30 05:23:27 +00:00
fix hot reloading with global and svg attibutes
This commit is contained in:
parent
04a923f83e
commit
776c5e8839
2 changed files with 3016 additions and 763 deletions
|
@ -1,4 +1,5 @@
|
|||
#![allow(non_upper_case_globals)]
|
||||
use crate::{map_global_attributes, map_svg_attributes};
|
||||
use crate::{GlobalAttributes, SvgAttributes};
|
||||
use dioxus_rsx::HotReloadingContext;
|
||||
|
||||
|
@ -218,7 +219,7 @@ macro_rules! builder_constructors {
|
|||
}
|
||||
);
|
||||
)*
|
||||
None
|
||||
map_global_attributes(attribute).or_else(|| map_svg_attributes(attribute))
|
||||
}
|
||||
|
||||
fn map_element(element: &str) -> Option<(&'static str, Option<&'static str>)> {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue