Closed brainkim closed 2 years ago
Fixes https://github.com/bikeshaving/crank/issues/236
The addEventListener, removeEventListener, dispatchEvent seem to be leaked when using vite, causing runtime errors.
addEventListener
removeEventListener
dispatchEvent
@darrylcousins If you can confirm that this fixes #236 that would be helpful! No worries otherwise, I think the code changes are fine anyways.
Fixes https://github.com/bikeshaving/crank/issues/236
The
addEventListener
,removeEventListener
,dispatchEvent
seem to be leaked when using vite, causing runtime errors.