2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

WebComponents > lit-element vs skatejs vs stencil vs stencil-js

Last updated at Posted at 2021-10-05

日記メモです。

数年ぶりに最近またWebComponentsを調べています。

調べ中ですが、lit-elementをもうちょっと調べてみようかなという、本日のメモです。

数年前、GEのPredixでWebComponentsの時代がくるのかと期待して、自分もWebComponentsの波に乗ってみたものの、世間はReactやVueへ流れていきました。

そんなWebComponentsの世界でもPolymerが王道かなと思ってたら、Polymerの更新が怪しくなってlit-elementが誕生するという雲行きの怪しさも拍車をかけた気がします。
(ただ、IE11でまともに動くのがPolymerだったのでPolymerは重宝しました。)

そのlit-elementも怪しいなと思ってたのですが、2019年から現在までも順調に伸びてるようなので、使ってみても大丈夫かなという思いが湧いてきました。

スクリーンショット 2021-10-06 0.09.03.png

@polymer/polymer vs lit-element vs skatejs vs stencil vs stencil-js | npm trends

という事で、特にオチはないですが、lit-elementを改めてもうちょっと調べてみようかなと思った記録です。

ところで、以下に、
Web Components – React

Web Components 内で React を使用することも、React 内で Web Components を使用することも、あるいはその両方を行うこともできます。

と書いてありますが、その下にさらに、

React を使用するほとんどの人は Web Components を使用しませんが、Web Components を用いたサードパーティ製の UI コンポーネントを使用したい時などには活用できるかもしれません。

と書いてあって、
気持ちはわかるけど、・・・
全員がReact使ってる組織・環境だったらそれでいいでしょうけどね。

共通化は技術的にもマインド的にも永遠の課題かもしれないです。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?