feat: add dx print command, drive hotpatching engine directly. (#4602)

* feat: add dx print command

* small tweak to how client_target is handled

* hotpatching engine wired up!

* small cleanups

* lighter diff

* little bit more light cleanups

* remove changes to manganis

* fix wrong dir error

* move session_cache fixing to prebuild step
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-21 20:29:49 -07:00
1 parent d899afaf4a
commit 083e04bb6c
19 files changed
+633 -234

No files matched your search

+2 -2
View File
@@ -75,7 +75,7 @@ impl<F: ComponentFunction<P, M> + Clone, P: Clone + 'static, M: 'static> AnyProp
}
fn render(&self) -> Element {
fn render_inner(name: &str, res: Result<Element, Box<dyn Any + Send>>) -> Element {
fn render_inner(_name: &str, res: Result<Element, Box<dyn Any + Send>>) -> Element {
match res {
Ok(node) => node,
Err(err) => {
@@ -83,7 +83,7 @@ impl<F: ComponentFunction<P, M> + Clone, P: Clone + 'static, M: 'static> AnyProp
// so do nothing
#[cfg(not(target_arch = "wasm32"))]
{
tracing::error!("Panic while rendering component `{name}`: {err:?}");
tracing::error!("Panic while rendering component `{_name}`: {err:?}");
}
Element::Err(CapturedPanic { error: err }.into())
}