Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Checks if incremental mount is enabled given a ComponentContext, so you can throw an error if you require that incremental mount is enabled (e.g. you use visibility callbacks). This is static to avoid polluting the ComponentContext API.

Link copied to clipboard

Creates a new ComponentContext based on the given ComponentContext, propagating log tag, logger, and tree props. This should be used when creating a ComponentContext for a nested ComponentTree (e.g. see HorizontalScrollSpec).

Link copied to clipboard

Creates a new ComponentContext instance scoped to the given component and sets it on the component.