# Web components in 2020

**URL:** <https://forum.devtalk.com/t/web-components-in-2020/1069>\
**Category:** Frontend Chat/Discussions\
**Tags:** web-components\
**Created:** [11 July 2020 08:14 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069 "2020-07-11T08:14:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokolegorille](https://forum.devtalk.com/user_avatar/forum.devtalk.com/kokolegorille/32/575_2.png) [@kokolegorille](https://forum.devtalk.com/u/kokolegorille)\
**Post date:** [11 July 2020 08:14 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069/1 "2020-07-11T08:14:48Z")

</div>

Hello everyone,

Does anybody uses Web Components in 2020? It’s quite old, but recently it seems to have some kind of revival.

I have been toying around lately, and made a wasm web component with Rust.

It is not meant to be a framework replacement, but can work with any… For fun I also made a Web Component in React.

The main advantage is it’s portability. After all, it’s just an html tag, but powered by anything under the hood.

Thanks for taking time…

---

<div class="post-metadata">

**Author:** ![dimitarvp](https://forum.devtalk.com/user_avatar/forum.devtalk.com/dimitarvp/32/5599_2.png) [@dimitarvp](https://forum.devtalk.com/u/dimitarvp)\
**Post date:** [11 July 2020 10:43 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069/2 "2020-07-11T10:43:33Z")

</div>

I haven’t but I plan to use [HTMX](https://htmx.org) for own project in a few weeks (or months). Have you checked that one out?

---

<div class="post-metadata">

**Author:** ![kokolegorille](https://forum.devtalk.com/user_avatar/forum.devtalk.com/kokolegorille/32/575_2.png) [@kokolegorille](https://forum.devtalk.com/u/kokolegorille)\
**Post date:** [11 July 2020 10:52 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069/3 "2020-07-11T10:52:07Z")

</div>

I did not know about Htmx, looks nice 🙂

BTW it’s possible to build a Web Component, using phoenix.js, and connecting to a topic defined in its attributes. Something like…

```auto
<phx-chat topic="chat:1"></phx-chat>

```

---

<div class="post-metadata">

**Author:** ![web-padawan](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/w/fbc32d/32.png) [@web-padawan](https://forum.devtalk.com/u/web-padawan)\
**Post date:** [11 July 2020 18:39 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069/4 "2020-07-11T18:39:10Z")

</div>

Hi! There are lots of examples of using web components in 2020, including component libraries by Microsoft, IBM, Salesforce, SAP and more.

If you are interested, check out this collection of web components resources: [https://github.com/mateusortiz/webcomponents-the-right-way](https://github.com/mateusortiz/webcomponents-the-right-way)

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.devtalk.com/user_avatar/forum.devtalk.com/astonj/32/7_2.png) [@AstonJ](https://forum.devtalk.com/u/AstonJ)\
**Post date:** [12 July 2020 00:37 UTC](https://forum.devtalk.com/t/web-components-in-2020/1069/5 "2020-07-12T00:37:10Z")

</div>

I’ve always liked the idea of building apps as a series of components and not just for the frontend - I really liked how Volt was planning to bring it to the backend too and would love frameworks like Rails and Phoenix to explore the idea.

Here’s some vids that look pretty good:

[![](https://img.youtube.com/vi/PCWaFLy3VUo/maxresdefault.jpg "Web Components Crash Course") ](https://www.youtube.com/watch?v=PCWaFLy3VUo)

[![](https://img.youtube.com/vi/vLkPBj9ZaU0/maxresdefault.jpg "How to create a Web Component using Vanilla JS") ](https://www.youtube.com/watch?v=vLkPBj9ZaU0)
