Evan You

Results 333 comments of Evan You

You can make a filter: ``` html ```

The second syntax doesn't clearly indicate what conditions should be met to trigger the callback: should it be `&&` or `||`? `||` is essentially the same with the first syntax....

Well `oldVal` and `newVal` are indeed the same object, it's just mutated. I think it is possible to improve the arguments provided to deep watch callbacks though.

But are you going to use JSX/TSX in Vue, or are you going entirely with templates? While this does make it compile, you still wouldn't be able to use Vue...

@elevatebart just so you know I'm considering doing this, but still trying to figure out the best way to organize it with the upcoming Vue 3 JSX transform.

@TeffenEllis I don't think I'll change `_isBeingDestroyed` and `_isDestroyed` in the foreseeable future, so you should be ok with this wrapper. `vue-router`'s data hook uses a similar approach and would...

Yep, I will add this to the best practices section in the guide.

We don't have enough time to evaluate every single submission on their quality, and it's kinda out of scope for this repo. I know @phanan is working on a website-version...

Here's [a version that works](http://jsfiddle.net/8WqxC/1/). It seems using identifier with objects causes problems... Also, when you are iterating over an object of objects, those objects are used directly as the...

I think you are approaching this with wrong assumptions. Templates for a component is static, once it's defined you can't change it. You need to express the parts that may...