japgolly.scalajs.react.extra
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
Implementation of Listener
. Subclasses can broadcast data of type A via the broadcast
method.
Implementation of Listener
. Subclasses can broadcast data of type A via the broadcast
method.
Attributes
- Supertypes
- Known subtypes
-
trait Broadcaster[A]
- Self type
-
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Supertypes
-
trait TimerSupportF[F]trait OnUnmountF[F]trait ReusabilityOverlay[F]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
EventListener.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object EventListener.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EventListenerF.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait Broadcaster[A]
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Listenable.type
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)
.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Broadcaster[A]trait Listenable[A]
- Self type
-
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ListenableF.type
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)
.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class Backendtrait TimerSupport
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)
.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait OnUnmountclass Backendtrait TimerSupporttrait TimerSupportF[F]class DefaultReusabilityOverlay[F]
- Self type
-
OnUnmountF[F]
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OnUnmountF.type
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
.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Heavily inspired by https://github.com/redsunsoft/react-render-visualizer
Heavily inspired by https://github.com/redsunsoft/react-render-visualizer
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReusabilityOverlay.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultReusabilityOverlay[F]
Attributes
- Companion
- object
- Supertypes
-
trait Write[F, A, S]trait ModState[F, A, S]trait SetState[F, A, S]trait Base[F, A]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StateSnapshotF.type
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)
.
Attributes
- Companion
- object
- Supertypes
-
trait OnUnmounttrait TimerSupportF[Sync]trait OnUnmountF[Sync]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TimerSupport.type
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)
.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class DefaultReusabilityOverlay[F]trait TimerSupport
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TimerSupportF.type
Types
Value members
Inherited methods
Attributes
- Inherited from:
- HooksApiExt
Attributes
- Inherited from:
- HooksApiExt
Concrete fields
Implicits
Inherited implicits
Attributes
- Inherited from:
- HooksApiExt
Attributes
- Inherited from:
- HooksApiExt