Eduardo San Martin Morote

Results 866 comments of Eduardo San Martin Morote

What I'm trying to say is that adding p/i to directives could make more harm than help... I pointed out the link because it talks about the purpose of provide-inject......

> I just wanted to clarify for anyone reading this that both directives and components can be installed via libraries and so that is not a difference between the two...

TLDR; Maybe we should indeed allow required + default value in [this check](https://github.com/vuejs/vue/blob/dev/src/core/util/props.js#L101) By saying the prop is required you expect the user to always provide a value, so making...

~The validation will always be skipped with nully values though.~ The validation will always be skipped with nully values and `required: false` though. Contributions to docs are always welcome 😄

That's right! it is for undefined that validation is skipped with non-required props

You're setting 2 different `setCameLate`, your last line should be ```js this.$set(this, 'setCameLate', 'yes'); ``` --- Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions...

Im not sure I get your question, but vue cannot detect the assignment, so you need set.

seems fine. I also think it's hardly useful but a warning is ok

it's a runtime dev only warning if you want to add it 🙂

I think this is by design and the @vue/composition-api lib probably has a bug 😬