adobe / adobe/react-webcomponent

@byContent should have a default functionality when no parameters are passed

オープン
#10 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
104
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

Like the @byAttrVal annotation, when no parameters are passed, there is a default behaviour (in that case, matching the attribute with the same name of the property).

When I use @byContent without parameters, `@byContent()`, I expect a list of nodes, or a node (like a React.Fragment) wrapping everything inside the web component, maybe like the normal `this.props.children` property.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、アノテーション @byContent と @byAttrVal の実装およびそれらのテストを見つけ、次にパラメーターなしで呼び出した場合にそれぞれがどのように動作するかを比較します。結果がノード、リスト、または web component の子要素を含む React.Fragment のいずれであるべきかを明確にし、その動作が仕様化、実装され、テストでカバーされた時点で作業完了とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
frontend, web-dev
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。