New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Elementは実用的なのかどうかの検証 #32
Comments
Custom Elementsのライフサイクルイベントは4つで、細かい管理はないので各自やる感じの部分があると思う。
|
Custom Elementsを見ることでわかるのは、以下のようなところが大きそう。
|
これReactもやっぱり同じ所に重きがあるような気がしてきた。 ReactElement createElement(
string/ReactClass type,
[object props],
[children ...]
) |
そもそもCustom Elementsって |
Deku 2.0が最小のライフサイクルとして面白い。 |
認識としてpropsがstring以外も渡せないと変化が難しい |
IE9+ならCustom Elementsは動かせる。
ReactとかRactiveとかなんでも最近は大体Componentsという仕組みを持っていて、
コンポーネントを意識して作り出してるものってCustom Elementsみたいなものになってる気がする。
なので、それらのライブラリを使ったCustom Elementsのインターフェースに沿ったコンポーネントを作ることは可能なのかを検証したい。
これのメリットはViewがCustom Elementsというインターフェースに沿って操作が行われるようになるので、Viewのライブラリを内部的に変えても問題なくなるという感じにできるかもしれないというのを知りたい。
今、ウェブアプリのアーキテクチャ的にライブラリに強く依存するのがView周りなので、そこをどうやって分離するかの検証。
The text was updated successfully, but these errors were encountered: