Detect components called as functions (#2461)

* detect components called as functions
* use the existing component name information instead of a thread local
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-06-07 13:55:10 -07:00
1 parent 7efe4d0e49
commit 5024139e01
3 files changed
+38

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ mod scopes;
mod tasks;
mod virtual_dom;
/// Items exported from this module are used in macros and should not be used directly.
#[doc(hidden)]
pub mod internal {
pub use crate::properties::verify_component_called_as_component;
}
pub(crate) mod innerlude {
pub(crate) use crate::any_props::*;
pub use crate::arena::*;