How to create a Web Component in PreactX

preview_player
Показать описание

Written using VSCode and the Parcel bundler to add with the npm installs and and imports of the packages to our component.
Рекомендации по теме
Комментарии
Автор

Hi Mark, thanks for the video. Can you tell how to dispatch events from such preact web component? Thanks in advance

metamodern
Автор

How to integrate/Use this web component in a different React Project?

akhilkandibanda
Автор

Good tutorial, I wonder If I write at least 100+ lines component or more. I wonder how the size would increase. I should be still close to 15kb right?

rossalcazar
Автор

Hi Thanks for the vids. I've been looking for a solution to embed an app into existing websites without using iframes and it seems like web components are the best solution for this. My question is, is there a 'preactX' style version for the angular web component videos?? I only have angular experience and dont want to be bundling up a big angular app to embed as a web component if there are better options available?

sjvideos
Автор

Uncaught TypeError: custom element constructors must call super() first and must not return a different object

karol.