OnUnmountF

japgolly.scalajs.react.extra.OnUnmountF
See theOnUnmountF companion object
trait OnUnmountF[F[_]]

Accrues procedures to be run automatically when its component unmounts.

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Concrete methods

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