Fout bij het gebruik van {{didInsert}} in een connectorcomponent: "Class constructor DidInsertModifier kan niet worden aangeroepen zonder 'new'"

It looks like there’s some code missing from your example? I’d expect to see a <template> / </template>, and for the modifier to be attached to an element like

<template>
  <div {{didInsert this.modifyElement}}>
    ...
  </div>
</template>
1 like