barelyhuman / barelyhuman/babel-plugin-mutable-react-state

Caveats

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

説明

Issues just pointing at the current caveats of the plugin

A ticked checkbox means, this has been handled and is now doable in the plugin

- [x] Binary Expressions (`$a+=1`,`$a = $a+1`) (`$text = $text + "A"`)
- [x] Update Expressions (`$a++`,`$a--`) for numbers
- [x] Member Expressions on all types ( `$text = $text.toUpperCase()` ) ()
- [ ] Pragma changing, (let's say you want to use preact instead of react)
- [ ] you'll have to create your own setters when passing around the state to other functions / returning it from a function. [Check this issue](https://github.com/barelyhuman/babel-plugin-mutable-react-state/issues/5)

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

未確認の注意点を確認します。特に、state が関数の境界を越える場合の pragma の変更と setter の作成を確認してください。まず、カスタム setter に関するリンク先の issue から始めます。payload にはソースファイルやテストの名前がありません。完了条件は、不足している動作を定義して実装し、その後、サポートされる注意点を文書化するか確認済みとしてチェックすることです。

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

評価

技術スタック
babel, react, typescript
領域
compilers
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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