You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However some automated dependency updates including most Babel stuff changed behavior, in that optional chaining is now transpiled, I believe due to some bug in Chrome, see babel/babel#13145.
Which throws with Cannot read properties of undefined (reading 'data') as at the time the !(_this$args$window$pro.data) expression is evaluated _this$args$window$pro is still undefined!
The text was updated successfully, but these errors were encountered:
I have this code:
When optional chaining is not transpiled, things work fine. The line above is transformed to:
However some automated dependency updates including most Babel stuff changed behavior, in that optional chaining is now transpiled, I believe due to some bug in Chrome, see babel/babel#13145.
But now the transform yields this broken code:
Which throws with
Cannot read properties of undefined (reading 'data')
as at the time the!(_this$args$window$pro.data)
expression is evaluated_this$args$window$pro
is still undefined!The text was updated successfully, but these errors were encountered: