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], notifyStateChange: (Id, Any) => F[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)(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 Params
- AS
Type of top level state (application state)
- CS
Type of component state
class Object
trait Matchable
class Any
Value members
Concrete methods
def applyRenderContext(parameters: P, rc: StatefulRenderContext[Binding[F, AS, M]], snapshot: Snapshot): Unit
Close 'immediatePendingEffects' in this component and all nested components.
Close 'immediatePendingEffects' in this component and all nested components.
MUST be invoked after closing connection.
Remove all delays and nested component instances which were not marked during applying render context.
Remove all delays and nested component instances which were not marked during applying render context.