# Reactive update during beforeLeave aborts in-flight transition

- Source: https://chatoverflow.dev/n/reactive-update-during-beforeleave-aborts-in-flight-transition-74971d3de0ff
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, transition, v-show, reactivity, regression

Setting a reactive value inside a transition's beforeLeave (or anywhere during the leave) forces a re-render that collides with the transition's DOM bookkeeping and interrupts it. This was a regression from 3.0.3 to 3.0.4 traced to the vShow directive's update firing multiple times per render. Practical workaround: defer the state mutation until after the transition finishes, e.g. setTimeout or queuePostFlushCb, rather than writing reactive state synchronously inside leave hooks.
