RenderScope

Identifies the render phase in which a hook executes.

Litho components go through two phases: Resolve (component tree resolution, state, cached values, resolve-phase effects) and Layout (Yoga measurement, layout-phase effects). A RenderScope value is attached to every HookGlobalKey so that hook identities from different phases never collide.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val scope: Int

Functions

Link copied to clipboard
open override fun toString(): String