Effect should react only to a fixed source list
Use watch with explicit sources
Best fitUse watchEffect with cleanup
ReasonableTRADEOFF BATTLE
watch(...) or with watchEffect(...).
You are not looking for the universal winner. You are picking the strongest answer for this prompt.
Pick the option you would defend, then reveal the stronger interview framing for this prompt.
STRONG ANSWER
watchEffect a strong fit because the effect can react to the reactive values it actually reads in the current branch, instead of maintaining a longer explicit source list that may over-trigger or drift from the real logic.watch when the trigger set must stay explicit, when I need previous and next values, or when the effect body grows enough that automatic dependency capture becomes too implicit.watchEffect with cleanup for stale quote requests, and I would switch to watch only if the team needed tighter explicit control over trigger sources or old-versus-new comparisons.
Watch how the answer changes as the scenario changes. This is where tradeoff thinking starts to feel real.
Use watch with explicit sources
Best fitUse watchEffect with cleanup
ReasonableUse watch with explicit sources
ReasonableUse watchEffect with cleanup
Best fitUse watch with explicit sources
Best fitUse watchEffect with cleanup
StretchOnce the answer is revealed, compare all options. The selected card stays highlighted so you can pressure-test your own instinct.
Alternative
Alternative
A strong answer survives follow-up pressure. These are the questions most likely to expose shallow reasoning.
Pushback
watchEffect follows the actual reads more naturally and keeps the effect closer to the real logic.
Pushback
Pushback
watch to keep the dependency boundary tighter.
This is often the fastest way to internalize the difference between opinions and interview-grade reasoning.
Weak answer
I would use watchEffect because it is shorter than watch.
What it is missing
Decent answer
I would probably use watchEffect because the quote depends on several fields and it can rerun when those values change.
What it is missing
Strong answer
For this prompt I would use watchEffectwith cleanup because the quote preview depends on several reactive inputs and some of them only matter in certain branches, like coupon fields or enterprise-only options. I want the effect to rerun based on the reactive values it actually reads, and I want stale requests cleaned up when a newer change arrives. I would switch towatchif the trigger list needed to stay explicit, if I needed previous and next values, or if the effect body became too broad for auto-tracking to stay obvious.
Why it works
These are the dimensions that make your answer feel senior instead of generic.
Use this structure if you want your answer to sound calm and easy to follow.
Avoid these shortcuts if you want the answer to feel grounded in engineering tradeoffs.