joist-framework/joist

@joist/di: clear local cached instances on disconnect and connect

deebloo opened this issue · 0 comments

while connectedCallback and disconnectedCallback are use for setup and teardown, they are also called when elements are MOVED. Since this could mean a potential change in scope local instances should be reset