compilerOptions
when using runtime compiler (ce0bbe0)app.config.compilerOptions
(091e6d6)$attrs
update when it has actually changed (5566d39)app.config.isCustomElement
has been deprecated and should be now nested under app.config.compilerOptions
. [Docs]delimiters
component option has been deprecated and should now be nested under the compilerOptions
component option. [Docs]v-is
has been deprecated in favor of is="vue:xxx"
[Docs]this.$props
and the props
object passed to setup()
now always contain all the keys for declared props, even for props that are absent (4fe4de0). This has always been the behavior in Vue 2 and is therefore considered a fix (see reasoning in #3288). However, this could break Vue 3 code that relied on the keys for prop absence checks. The workaround is to use a Symbol default value for props that need absence checks:
const isAbsent = Symbol() export default { props: { foo: { default: isAbsent } }, setup(props) { if (props.foo === isAbsent) { // foo is absent } } }
optionMergeStrategies
functions no longer receive
the component instance as the 3rd argument. The argument was technically
internal in Vue 2 and only used for generating warnings, and should not
be needed in userland code. This removal enables much more efficient
caching of option merging.
null
to value
(#3564) (e3f5dcb)props
argument (#3726) (9b160b9)RefSymbol
(#2548) (90aa835)RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4