cheesestringer
PD🧩 Plasmo Developers
•Created by cheesestringer on 8/6/2024 in #👟framework
Overriding the default renderer
I'm trying to override the default renderer so I can use a custom mutation observer (clicking on next page on the SPA does a scroll to top so I want to wait for it to finish to stop 10 components all requesting data at once).
When using an inline anchor, I can see the anchor appearing with a type of inline, but the createContainer seems to throw an exception with:
TypeError: Cannot read properties of undefined (reading 'type')
.
When using an inline anchor list I can't see anything being logged to the console.
Am I doing something wrong for this type error to appear even though the anchor seems to have a type?
How do I override the default renderer for an inline anchor list?
3 replies