Refactor Turbolinks workarounds and hacks
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Once Turbolinks has been definitely removed, it will make sense to revisit code we wrote to work around it.
Examples of code we should revisit:
- un-registration of event listeners (
.off) to prevent cached listeners piling up -
beforeunload,loadandDOMContentReadyevent listeners and handlers to simulate page change and refresh. Many of these should be unneccessary now.
Feel free to add to this issue description with more ideas.
cc: @iamphill
Edited by 🤖 GitLab Bot 🤖