Does Plasmo content ui support raw html without injecting react runtime?

Hi, I am creating an extension which has a lot of content user interface being injected in every page. Due to performance considerations I want to inject as few runtimes as possible.
2 Replies
e.hasanaj
e.hasanajOP•16mo ago
Any comment on this please
hgil
hgil•15mo ago
Bump. Same question. Porting my code over where my content.js was adding overlays with html and will port over to React but want to know if it can work out of the box with html. I'm getting this error which I think is caused by using raw HTML
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s undefined You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check your code at content.tsx:64.
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s undefined You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check your code at content.tsx:64.
Want results from more Discord servers?
Add your server