crystal.react.hooks

Type members

Classlikes

case class SerialState[A]
Companion:
object
Companion:
class
case class UseSerialState[A]
Companion:
object
Companion:
class
class UseSingleEffect[F[_]](latch: Ref[F, Option[Deferred[F, UnitFiber[F]]]], debounce: Option[FiniteDuration])(implicit F: Async[F], monoid: Monoid[F[Unit]])
Companion:
object
Companion:
class

Types

type AsyncUnitFiber = Fiber[Async, Throwable, Unit]
type StreamResource[A] = Resource[Async, Stream[Async, A]]
type UnitFiber[F[_]] = Fiber[F, Throwable, Unit]

Implicits

Inherited implicits

implicit def hooksExtAsyncEffect1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtAsyncEffect2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtDelayedCallback1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtDelayedCallback2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtEffectResult1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtEffectResult2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtResource1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtResource2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSerialState1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSerialState2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSerialStateView1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSerialStateView2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSingleEffect1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtSingleEffect2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStateView1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStateView2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStateViewWithReuse1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStateViewWithReuse2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStreamResourceView1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
Inherited from:
HooksApiExt
implicit def hooksExtStreamResourceView2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
Inherited from:
HooksApiExt