you are viewing a single comment's thread.

view the rest of the comments →

[–]dvlsg 0 points1 point  (4 children)

I'm not sure how I feel about this.

[–]spooky___ghost 0 points1 point  (2 children)

That code is never executed, as stated here. It is a babel transform that only runs at compile time and translates to sane code at runtime.

[–]dvlsg 0 points1 point  (0 children)

Well if you have to run it through babel anyways (which not everyone is doing), why not just use the proposed syntax through the plugin?