TreeState
class TreeState
Types
Link copied to clipboard
class TreeMountInfo
This class represents whether this Litho tree has been mounted before. The usage is a bit convoluted and will need to be cleaned out properly in the future.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun applyLazyStateUpdatesForContainer(componentKey: String, container: StateContainer, isNestedTree: Boolean): StateContainer
Link copied to clipboard
fun applyStateUpdatesEarly(context: ComponentContext, component: Component?, prevTreeRootNode: LithoNode?, isNestedTree: Boolean)
Link copied to clipboard
fun bindEventAndTriggerHandlers(createdEventHandlers: List<Pair<String, EventHandler<*>>>?, componentScopes: List<ScopedComponentInfo>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createOrGetEventDispatchInfoForComponent(scopedContext: ComponentContext, component: Component, key: String): EventDispatchInfo
Link copied to clipboard
fun <T> createOrGetInitialHookState(key: String, kStateIndex: Int, initializer: HookInitializer<T>, isNestedTree: Boolean, componentName: String): ComponentState<KStateContainer>
Link copied to clipboard
fun createOrGetState(scopedContext: ComponentContext, component: Component, key: String): ComponentState<out StateContainer>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun queueStateUpdate(key: String, stateUpdate: StateContainer.StateUpdate, isLazyStateUpdate: Boolean, isNestedTree: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard