Creating Web Components with Stencil

Learn how to use Stencil to build Web Components and use them in any JavaScript framework!

Read on :hammer_and_wrench:

Brought to you by @andrea.chiarelli :man_technologist:

1 Like

What is your experience in using Stencil and Web Components? Let’s discuss it!

Hi, have used a web component in multiple domains? counts them as duplicate content? It is for SEO!

For example: <static-text-component><static-text-component/> Contains → Hello, my name is Sebastian, and… (700 words more…)
If I have it in http://mydomain1.com and http://mydomain2.com Does Google find it as duplicate content and penalize me?

:thinking:
I think that Google penalization for content duplication is independent of using web components or not.
Please, check Google’s guidelines.

hello I am trying to use stencil component in vue adn react. I can not lisen the event and pass object data like vue or react. Could u have any ideas?

ln your article How can we lisen ratingUpdated event in vue and react?

Tagging article author fir visibility Jack (@andrea.chiarelli )

Hi @jackchoumine,
Thank you for joining the Auth0 Community and for reading this article. I have a few caveats about it.

First, it was written some time ago, and if you check the accompanying project on GitHub, you can see it uses Stencil 1.12. The current version of Stencil is 2.11, so many things may have changed in the meantime.

For specific and updated information about how to integrate Stencil with React and Vue, I suggest you check out the official documentation:

1 Like