FromThunkReusability

final class FromThunkReusability[A](thunk: () => A, reusability: Reusability[A])
class Object
trait Matchable
class Any

Value members

Concrete methods

def autoRefresh: Px[A]

Every time japgolly.scalajs.react.extra.Px.value is called, the underlying data function is re-evaluated. If a non-reusable change is detected, the value is replaced.

Every time japgolly.scalajs.react.extra.Px.value is called, the underlying data function is re-evaluated. If a non-reusable change is detected, the value is replaced.

The underlying data function will only be re-evaluated and checked for non-reusable change when japgolly.scalajs.react.extra.Px.ThunkM.refresh is called.

The underlying data function will only be re-evaluated and checked for non-reusable change when japgolly.scalajs.react.extra.Px.ThunkM.refresh is called.

japgolly.scalajs.react.extra.Px.refresh also exists as a convenience to refresh multiple instances at once.

The value is never updated until japgolly.scalajs.react.extra.Px.Var.set is called to specify a new value.

The value is never updated until japgolly.scalajs.react.extra.Px.Var.set is called to specify a new value.