LifeCycle

Lifecycle hooks for components

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Hook

Hook with no callback parameters

Link copied to clipboard
inner class NextPropsHook<PROPS>

Hook for props update

Functions

Link copied to clipboard
operator fun invoke(block: Component.LifeCycle<PROPS>.() -> Unit)

Brings the LifeCycle object into scope.

Properties

Link copied to clipboard

Hook called when the component was mounted

Link copied to clipboard

Hook called when the component receives new props

Link copied to clipboard

Hook called when the component was unmounted

Link copied to clipboard

Hook called when the DOM of the component was updated