You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my bad — I forgot that attributeChangedCallbackandconnectedCallback will fire when a custom element connects.
I think the answer is to make sure the current value for this.href and the third parameter of attributeChangedCallback (often called newValue) do not match before allowing the fetch to happen.
The text was updated successfully, but these errors were encountered:
This is my bad — I forgot that
attributeChangedCallback
andconnectedCallback
will fire when a custom element connects.I think the answer is to make sure the current value for
this.href
and the third parameter ofattributeChangedCallback
(often callednewValue
) do not match before allowing the fetch to happen.The text was updated successfully, but these errors were encountered: