DEV: uses vanilla js for widget hooks (PR #14221)

Note that this change also introduces an initialiser for widget hooks instead of calling it on each mount-widget

GitHub

Should have been marked as draft :stuck_out_tongue:

Marked this as draft for you, github makes this very very non obvious

image