Fix component names when they are re-exported (#2744)

* Fix component names when they are re-exported
* Fix read only signal props expansion
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-07-30 12:28:19 -07:00
1 parent 34bdcd15cf
commit 115cc0ad42
5 files changed
+9 -23

No files matched your search

+1 -1
View File
@@ -178,8 +178,8 @@ impl SuspenseBoundaryPropsWithOwner {
pub fn into_vcomponent<M: 'static>(
self,
render_fn: impl ComponentFunction<SuspenseBoundaryProps, M>,
component_name: &'static str,
) -> VComponent {
let component_name = std::any::type_name_of_val(&render_fn);
VComponent::new(
move |wrapper: Self| render_fn.rebuild(wrapper.inner),
self,