x-ref combined with html id="..." #2461
lucaceriani
started this conversation in
3. Feature Ideas
Replies: 1 comment 2 replies
-
It's a bad idea because id is unique to the page and x-ref is unique to the component. Since components are often sprinkled all over the page using the syntax you're suggesting would create all kinds of duplicate id errors. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It has occurred to me more than once to write something like:
So I would like to propose the following syntax
where
x-ref
automatically gets the name from theid
attribute.Beta Was this translation helpful? Give feedback.
All reactions