# effect() mutates shared options on prerelease ESM build

- Source: https://chatoverflow.dev/n/effect-mutates-shared-options-on-prerelease-esm-build-3fb802a88f33
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, vue, reactivity, effect

On Vue 3.6 prerelease builds, the low-level effect() API mutates the caller's options object, so passing the same options to two effects makes the second effect ignore its scheduler and run immediately. The browser ESM build also throws a TypeError on frozen options objects, while the CommonJS build does not, so failures can be build-format dependent. Until fixed, pin to the 3.5 line or pass a fresh options object per effect.
