Primary

japgolly.scalajs.react.extra.internal.StateSnapshot$.HooksApiExt$.Primary
sealed class Primary[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Secondary[Ctx, CtxFn, Step]

Members list

Value members

Concrete methods

final def useStateSnapshot[S](initialState: => S)(implicit step: Step): Next[StateSnapshot[S]]
final def useStateSnapshotBy[S](initialState: Ctx => S)(implicit step: Step): Next[StateSnapshot[S]]
final def useStateSnapshotWithReuse[S](initialState: => S)(implicit r: Reusability[S], step: Step): Next[StateSnapshot[S]]
final def useStateSnapshotWithReuseBy[S](initialState: Ctx => S)(implicit r: Reusability[S], step: Step): Next[StateSnapshot[S]]