Resolver

object Resolver

Types

Link copied to clipboard
class Outputs

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Notify TreeState to keep state containers for the case where we reuse resolve results.

Link copied to clipboard
fun createPerformanceEvent(component: Component, componentsLogger: ComponentsLogger?, eventId: Int): PerfEvent?

Creates a PerfEvent for the given {@param eventId}. If the used ComponentsLogger is not interested in that event, it will return null.

Link copied to clipboard
fun createScopedContext(resolveContext: ResolveContext, parent: ComponentContext, component: Component, globalKeyToReuse: String? = null, treePropsToReuse: TreePropContainer? = null): ComponentContext
Link copied to clipboard

Returns the a ReconciliationMode mode which directs the reconciling process to branch to either recreate the entire subtree, copy the entire subtree or continue to recursively reconcile the subtree.

Link copied to clipboard
fun isReconcilable(c: ComponentContext, nextRootComponent: Component, treeState: TreeState, currentLayoutResult: LithoNode? = null): Boolean
Link copied to clipboard
fun resolve(resolveContext: ResolveContext, parent: ComponentContext, component: Component): LithoNode?
Link copied to clipboard
fun resolveImpl(resolveContext: ResolveContext, parent: ComponentContext, parentWidthSpec: Int, parentHeightSpec: Int, component: Component, resolveNestedTree: Boolean = false, globalKeyToReuse: String? = null, treePropsToReuse: TreePropContainer? = null): LithoNode?
Link copied to clipboard
Link copied to clipboard
fun resolveWithGlobalKey(resolveContext: ResolveContext, parent: ComponentContext, component: Component, globalKeyToReuse: String?): LithoNode?
Link copied to clipboard