DEV Community

Discussion on: Preact in the Shadow DOM

Collapse
 
awolf81 profile image
Alexander Wolf

Great post! To the styled-components caveat maybe you could add how to add the target. For me, the following comment helped - styled-compoennts issue #659.
Another caveat for me was that I had to alias react with preact/compat to get it working in my Parcel setup. Also it's important to not use preact-compat as this throws a confusing error vnode undefined.