glink/instance
Types
Values
pub fn rerender(instance: Instance, component: Component) -> Nil
Replace previous root node with a new one or update props of the current root node.
pub fn wait_until_exit(
instance: Instance,
then: fn() -> Nil,
) -> Nil
Awaits a promise, which resolves when app is unmounted.