Packages

package extra

Linear Supertypes
HooksApiExt, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. extra
  2. HooksApiExt
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package components
  2. package internal
  3. package router

Type Members

  1. trait Broadcaster[A] extends BroadcasterF[Sync, A] with Listenable[A]
  2. trait BroadcasterF[F[_], A] extends ListenableF[F, A]

    Implementation of Listener.

    Implementation of Listener. Subclasses can broadcast data of type A via the broadcast method.

  3. class EventListenerF[F[_]] extends AnyRef
  4. trait Listenable[A] extends ListenableF[Sync, A]
  5. trait ListenableF[F[_], A] extends AnyRef

    External entities can register with this to listen (receive) data of type A.

    External entities can register with this to listen (receive) data of type A.

    Install in ScalaComponent.build via .configure(Listenable.listen).

  6. trait OnUnmount extends OnUnmountF[Sync]

    Accrues procedures to be run automatically when its component unmounts.

    Accrues procedures to be run automatically when its component unmounts.

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

  7. trait OnUnmountF[F[_]] extends AnyRef

    Accrues procedures to be run automatically when its component unmounts.

    Accrues procedures to be run automatically when its component unmounts.

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

  8. sealed abstract class Px[A] extends AnyRef

    A mechanism for caching data with dependencies.

    A mechanism for caching data with dependencies.

    This is basically a performance-focused, lightweight implementation of pull-based FRP, pull-based meaning that in the chain A→B→C, an update to A doesn't affect C until the value of C is requested.

    What does Px mean? I don't know, I just needed a name and I liked the way @lihaoyi's Rx type name looked in code. You can consider this "Performance eXtension". If this were Java it'd be named AutoRefreshOnRequestDependentCachedVariable.

  9. type StateSnapshot[S] = StateSnapshotF[Sync, util.DefaultEffects.Async, S]
  10. final class StateSnapshotF[F[_], A[_], S] extends Write[F, A, S]
  11. trait TimerSupport extends TimerSupportF[Sync] with OnUnmount

    Alternatives to window.setTimeout/window.setInterval that automatically unregister installed callbacks when the component unmounts.

    Alternatives to window.setTimeout/window.setInterval that automatically unregister installed callbacks when the component unmounts.

    Provides interval methods that guarentee duration between callbacks. Regular use of setInterval is fine for callbacks with determined execution time. However, if your callback could possibly take as long or longer than your timeout, you can end up with callbacks firing back to back.

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

  12. trait TimerSupportF[F[_]] extends OnUnmountF[F]

    Alternatives to window.setTimeout/window.setInterval that automatically unregister installed callbacks when the component unmounts.

    Alternatives to window.setTimeout/window.setInterval that automatically unregister installed callbacks when the component unmounts.

    Provides interval methods that guarentee duration between callbacks. Regular use of setInterval is fine for callbacks with determined execution time. However, if your callback could possibly take as long or longer than your timeout, you can end up with callbacks firing back to back.

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

Deprecated Type Members

  1. class DefaultReusabilityOverlay[F[_]] extends ReusabilityOverlay[F] with TimerSupportF[F]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) ReusabilityOverlays are deprecated and will be removed in the next major release.

  2. trait ReusabilityOverlay[F[_]] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) ReusabilityOverlays are deprecated and will be removed in the next major release.

Value Members

  1. lazy val StateSnapshot: extra.internal.StateSnapshot.type
  2. implicit def hooksExtUseStateSnapshot1[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step]): Primary[Ctx, Step]
    Definition Classes
    HooksApiExt
  3. implicit def hooksExtUseStateSnapshot2[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]): Secondary[Ctx, CtxFn, Step]
    Definition Classes
    HooksApiExt
  4. def useStateSnapshot[S](initialState: => S): HookResult[extra.StateSnapshotF.StateSnapshot[S]]
    Definition Classes
    HooksApiExt
    Annotations
    @inline()
  5. def useStateSnapshotWithReuse[S](initialState: => S)(implicit r: Reusability[S]): HookResult[extra.StateSnapshotF.StateSnapshot[S]]
    Definition Classes
    HooksApiExt
    Annotations
    @inline()
  6. object Ajax extends AjaxF[Sync, util.DefaultEffects.Async]
  7. object EventListener extends EventListenerF[Sync]
  8. object EventListenerF
  9. object Listenable
  10. object ListenableF
  11. object OnUnmount
  12. object OnUnmountF
  13. object Px
  14. object StateSnapshotF
  15. object TimerSupport
  16. object TimerSupportF

Deprecated Value Members

  1. object DefaultReusabilityOverlay
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) ReusabilityOverlays are deprecated and will be removed in the next major release.

  2. object ReusabilityOverlay

    Heavily inspired by https://github.com/redsunsoft/react-render-visualizer

    Heavily inspired by https://github.com/redsunsoft/react-render-visualizer

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) ReusabilityOverlays are deprecated and will be removed in the next major release.

Inherited from HooksApiExt

Inherited from AnyRef

Inherited from Any

Ungrouped