@metreeca/tile
    Preparing search index...
    • Adopts a state object as the state of a component.

      Renders the component again after every transition that changes something, never after one returning the same state.

      Type Parameters

      • T extends State<T>

        The state interface

      Parameters

      • model: Lazy<T>

        The model, or a factory creating it; resolved once, when the component first renders, so a factory may be written inline and close over props, at the cost of capturing them as they stood then: a prop changing later never reaches the model

      Returns T

      The model as it stands for this render, superseded by the next after every transition that changes something