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
Some actions used in the codebase include a return destroy function. In most of this functions I simply remove the events that have been previously added to the node to which the action is binded to. However, this is not required as the events will automatically be removed once the element is destroyed (see a similar issue from Rich Harris).
The idea is to remove all unnecessary destroys and removeEventListener's.
The text was updated successfully, but these errors were encountered:
Some actions used in the codebase include a return
destroy
function. In most of this functions I simply remove the events that have been previously added to the node to which the action is binded to. However, this is not required as the events will automatically be removed once the element is destroyed (see a similar issue from Rich Harris).The idea is to remove all unnecessary
destroys
andremoveEventListener
's.The text was updated successfully, but these errors were encountered: