Replies: 1 comment
-
|
I've been caught out by this as well, expecting updating the url/text for an 'empty' link would work based on the init behaviour. I forgot to mention I created a PR, in case you have any feedback: |
Beta Was this translation helpful? Give feedback.
0 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.
-
Given this code:
the result is only one link that can be seen and clicked on. This makes sense given how
Linkis coded, but it does highlight that the init-on-construct default behaviour and the fill-once-I-have-data default behaviour are a different experience.Perhaps it would be a good idea to have
textdefaulted tourlifurlis set andtextis empty (and perhaps the same in reverse).Ideally it would make sense to also allow
yield Link()incompose-- it would be common to not have data yet incompose, acquiring it much later after mounting has ended.Beta Was this translation helpful? Give feedback.
All reactions