Description
- Navigate to the https://vuejs.org/guide/essentials/reactivity-fundamentals.html page.
- Keep your eyes on the URL and start scrolling down.
- You will first see
https://vuejs.org/guide/essentials/reactivity-fundamentals.html#script-setup
(this shouldn't be the case) - Then, you will see
https://vuejs.org/guide/essentials/reactivity-fundamentals.html#declaring-reactive-state
(this should be the case, since it matches the header name). - Continue scrolling down where the header is Reactive Proxy vs. Original. The URL there is again
https://vuejs.org/guide/essentials/reactivity-fundamentals.html#script-setup
, but it should behttps://vuejs.org/guide/essentials/reactivity-fundamentals.html#reactive-proxy-vs-original
. - The same problem with incorrect links appears for the Deep Reactivity (which gets the https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-reactive-objects) link and Stateful Methods (which gets the https://vuejs.org/guide/essentials/reactivity-fundamentals.html#reactivity-transform link) headers.
This also causes the Algolia search component to not correctly link to the subsections:
I could not find the cause why these links (such as https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-reactive-objects) exist. I performed a solution-wide search for them, and some of them don't even exist. Others do exist, but have nothing to do with the Reactivity Fundamentals page.
I first discovered this when reading https://vuejs.org/api/composition-api-setup.html#basic-usage and clicking on the automatically shallow unwrapped link in the same section. This links to https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-templates, but it should probably link to https://vuejs.org/guide/essentials/reactivity-fundamentals.html#deep-reactivity. I'll link a PR to fix that link.