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

Function yew::set_custom_panic_hook

source ยท
pub fn set_custom_panic_hook(
    hook: Box<dyn Fn(&PanicInfo<'_>) + 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.