#Stencil integration
1 messages · Page 1 of 1 (latest)
Hi! I think overall it should be really straightforward, but depending on your use-case, using slots and iframes could be tricky (Puck preview with the iframes option enabled):
- Dropzones: while using the editor, you should expect that each Dropzone will render extra containers (div elements) inside the components that make use of it (relevant for
slots). - Window: Iframes have different window and document owners, so be aware where you define your web-components).
Might be a good idea to use the React wrapper for your Stencil components: https://stenciljs.com/docs/react#adding-the-react-output-target
I'm just sharing my thoughts, so go ahead and experiment yourself.
Do you have any specific questions or problems?
Stencil emits web components and you can use web components in React 19 seamlessly.