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
If your page has 1000s of the same icon, the loadIcon gets called 1000s of times before the if statement is true. The loadIcon method is slower than nuxt-icon calling this with each icon on the page.
You need to set either another variable that designates that you are already loading this icon, or set state.value[iconKey.value] with a temporary non-falsy value.
The text was updated successfully, but these errors were encountered:
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.
There is a race-condition that we finally found that was causing our app to "wait" for about 10 seconds.
If your page has 1000s of the same icon, the
loadIcon
gets called 1000s of times before the if statement is true. The loadIcon method is slower than nuxt-icon calling this with each icon on the page.You need to set either another variable that designates that you are already loading this icon, or set
state.value[iconKey.value]
with a temporary non-falsy value.The text was updated successfully, but these errors were encountered: