docs
docs copied to clipboard
📄 Documentation for Vue 3
Hey i found this solution for passing slots to child components of a component. I think this should be in the official docu, because it's a cool trick and has...
https://vuejs.org/api/options-state.html mentions this.$data` property, which is used to hold reactive data. Holding large JSON lists there probably gives a performance penalty even if the data is not changed and only...
From the docs at least for me it's not obvious that watching a ref is actually shallow watching its value only. The problem that we know that an object/array ref...
In the main [page](https://vuejs.org/) when the screen size reaches 768px, the navbar is consuming additional space, causing an impact on the entire content section. Additionally, empty spaces are being created...
https://vuejs.org/guide/components/props.html#props-declaration When it comes to the example of passing an object of props, it isn't clear that you still need to use `const props =` if you want to use...
Commit https://github.com/vuejs/docs/commit/7ab399147c15abf232064ebf701552f07e00f638 fixed issue #1678 by introducing an `export` to the `interface Props`. This export clashes with [a specification in the same file](https://github.com/vuejs/docs/blob/main/src/api/sfc-script-setup.md#usage-alongside-normal-script-usage-alongside-normal-script), I think, which states: > A normal...
https://vuejs.org/guide/reusability/composables.html#async-state-example near the bottom of this section, when discussing the `watchEffect()` / `toValue()` refactor, the copy reads: > Notice that toValue(url) is called inside the watchEffect callback. This ensures that...
In the [docs](https://github.com/search?q=repo%3Avuejs%2Fdocs+%22getter+function%22&type=code) the term "getter function" seems to be an important concept but it's not defined anywhere that I've found. Do y'all think it's an idea to define it?
https://vuejs.org/guide/components/provide-inject.html#working-with-reactivity  I don't know if this change is implemented, if it is I think the alert could be removed (or the information could be changed to `For Vue 3.2...
I expect to land on the same scroll position as I was before on a page A, when I use a back button on page B. I end up on...