• Creates an effect scope object which can capture the reactive effects (i.e. computed and watchers) created within it so that these effects can be disposed together. For detailed use cases of this API, please consult its corresponding RFC.

    Parameters

    • Optionaldetached: boolean

      Can be used to create a "detached" effect scope.

    Returns EffectScope