goober icon indicating copy to clipboard operation
goober copied to clipboard

How to put styles inside web component?

Open m4rvr opened this issue 1 year ago • 1 comments

Hey!

I have a web component and want to add the styled to a

Creating a custom styled with const styled = styled.bind({ target: target }) doesn't work because the target isn't there on the first render of the component hence it falls back to the <head> again.

Any idea what I can do to make this work?

m4rvr avatar Nov 02 '22 21:11 m4rvr