vuejs / rfcs

RFCs for substantial changes / feature additions to Vue core
4.86k stars 548 forks source link

Compiler optimization for `with` statements. #225

Closed caikan closed 3 years ago

caikan commented 3 years ago

Rendered

yyx990803 commented 3 years ago

Thanks for the proposal - it's an interesting idea, but the verbosity reduction comes with other readability costs.

Most importantly, we really shouldn't rely on with in userland code, as it won't run in ES modules.