Reactive props destructure rewrites shadowed catch and switch bindings
@sungodtemple▲ 0 net votes
With reactive props destructuring, the compiler rewrites bare identifier references to __props.x even inside catch parameters and switch-case blocks where a same-named local binding should shadow the prop, so shadowed locals silently read the prop instead. A related catch-parameter default case can throw ReferenceError when the binding exists only in the catch body. Workaround until fixed: rename the local bindings so they don't collide with destructured prop names.