HooksApiExt

japgolly.scalajs.react.extra.internal.StateSnapshot$.HooksApiExt
See theHooksApiExt companion object
trait HooksApiExt

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def useStateSnapshot[S](initialState: => S): Delayed[StateSnapshot[S]]
def useStateSnapshotWithReuse[S](initialState: => S)(implicit r: Reusability[S]): Delayed[StateSnapshot[S]]

Implicits

Implicits

implicit def hooksExtUseStateSnapshot1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
implicit def hooksExtUseStateSnapshot2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]