ComponentInstance
korolev.internal.ComponentInstance
final class ComponentInstance[F[_], AS, M, CS, P, E](nodeId: Id, sessionId: Qsid, frontend: Frontend[F], eventRegistry: EventRegistry[F], stateManager: StateManager[F], getRenderNum: () => Int, val component: Component[F, CS, P, E], stateQueue: Queue[F, (Id, Any, Option[() => Unit])], createMiscProxy: (StatefulRenderContext[Binding[F, AS, M]], (StatefulRenderContext[Binding[F, CS, E]], Binding[F, CS, E]) => Unit) => StatefulRenderContext[Binding[F, CS, E]], scheduler: Scheduler[F], reporter: Reporter, recovery: PartialFunction[Throwable, F[Unit]])(implicit evidence$1: Effect[F], evidence$2: StateSerializer[AS], evidence$3: StateDeserializer[AS], evidence$4: StateSerializer[CS], evidence$5: StateDeserializer[CS])
Component state holder and effects performer
Performing cycle:
- prepare()
- Optionally setState()
- applyRenderContext()
- dropObsoleteMisc()
Type parameters
- AS
-
Type of top level state (application state)
- CS
-
Type of component state
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Members list
In this article