This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.
yew

Function set_custom_panic_hook

source
pub fn set_custom_panic_hook(
    hook: Box<dyn Fn(&PanicHookInfo<'_>) + Sync + Send + 'static>,
)
Available on crate feature csr only.
Expand description

Set a custom panic hook. Unless a panic hook is set through this function, Yew will overwrite any existing panic hook when an application is rendered with Renderer.