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
The onMounted hook in the infinite-loading component is asynchronous. If the parent component's onMounted process updates the infinite-loading's identifier, the watch function might get triggered first.
A suggested fix would be to call observer?.disconnect() in the infinite-loading component's onMounted hook to ensure any existing observer is disconnected before a new one is initiated, reducing the likelihood of having multiple active observers.
The
onMounted
hook in the infinite-loading component is asynchronous. If the parent component'sonMounted
process updates the infinite-loading's identifier, thewatch
function might get triggered first.Reproduction Code: https://codepen.io/fukasawah/pen/poGjPaG
A suggested fix would be to call
observer?.disconnect()
in the infinite-loading component'sonMounted
hook to ensure any existing observer is disconnected before a new one is initiated, reducing the likelihood of having multiple active observers.The text was updated successfully, but these errors were encountered: