Open pandanoir opened 4 years ago
Stencil https://stenciljs.com/
WebComponentおさらい
この2つが重要。
Web componentはReactのみたいに関数とかを渡せない(文字列しか渡せない)のでつらい。カスタム要素が作れるだけ。
Reactの目標はデータ→DOMという写像で、web componentはHTMLを拡張するものだから、ちょっと違う。
参考
Stencil https://stenciljs.com/