OnUnmount

japgolly.scalajs.react.extra.OnUnmount
See theOnUnmount companion object
trait OnUnmount extends OnUnmountF[Sync]

Accrues procedures to be run automatically when its component unmounts.

Install in ScalaComponent.build via .configure(OnUnmount.install).

Attributes

Companion
object
Graph
Supertypes
trait OnUnmountF[Sync]
class Object
trait Matchable
class Any
Known subtypes
class Backend
trait TimerSupport

Members list

Value members

Inherited methods

final def onUnmount[G[_]](f: => G[Unit])(implicit G: Dispatch[G]): F[Unit]

Attributes

Inherited from:
OnUnmountF
final def unmount: F[Unit]

Attributes

Inherited from:
OnUnmountF