• Creates a named reactive view and keeps it alive, so that the view is always updated if one of the dependencies changes, even when the view is not further used by something else.

    Parameters

    • view: ((r) => any)

      — The reactive view

        • (r): any
        • Parameters

          • r: IReactionPublic

          Returns any

    • Optional opts: IAutorunOptions

    Returns IReactionDisposer

    — disposer function, which can be used to stop the view from being updated in the future.