adobe / adobe/react-webcomponent
@byContent not work inner loop element
オープン
- 主要言語
- JavaScript
- スター
- 104
- フォーク
- 20
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
- The @byContent() does not work inner loop element:
I implement as example codes:
`class ComponentItemModel extends DOMModel {
@byContent('section') content;
}
class ComponentModel extends DOMModel {
@byChildrenRefArray('component-item', ComponentItemModel) items;
}`
My html is as below:
`
my content
my content
`
- When I run the page to test them, the page always loading.
コントリビューションガイド
調査の方向性
まず @byContent と @byChildrenRefArray の実装を見つけ、次に提示されたネストされたコンポーネント項目の例を再現します。完了条件は、ページが読み込み中のまま停止せず、内側のループの各要素が @byContent('section') を通じてセクションのコンテンツを公開することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100