remount csui on url change

i have built an extension using plasmo which injects some ui into the dom using getRootContainer the component where i am injecting my csui unmounts when the url changes, hence i want to make it remount on each url change basically my getRootContainer and render functions must re-run on each url change
Sam
Sam•23d ago
Are you using getInlineAnchor or getOverlayAnchor? I thought those were tied to a mutation observer and would run each and every mutation.