gajus / gajus/babel-plugin-react-css-modules
Establish a convention for extending the styles object at the runtime
- 主要言語
- JavaScript
- スター
- 2k
- フォーク
- 159
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
`react-css-modules` [uses `styles` property to overwrite the default component styles](](https://github.com/gajus/react-css-modules#extending-component-styles)).
`generateClassName` could look for `props.styles` and `this.props.styles` when constructing the `className` value to determine whether a style needs to be overwritten.
There could be an option to force use of `generateClassName` even when `styleName` is a string literal value.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、generateClassName 周辺のランタイム処理と、issue の react-css-modules リンクに記載されている styles の拡張動作を読みます。props.styles、this.props.styles、提案されているオプションが必須かどうかを明確にし、そのうえで期待される className の動作を定義し、結果として得られる規約を文書化します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100