What is the status of "shallow renderer"?
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Google leads me to this page: https://reactjs.org/docs/shallow-renderer.html
However, I can not find it anywhere in the table of contents on the right.
Note that the versioning on the page suggests that this is a feature of React 18

I see that react-test-renderer does export react-test-renderer/shallow ( https://github.com/facebook/react/blob/main/packages/react-test-renderer/shallow.js ), but it isn't documented (https://reactjs.org/docs/test-renderer.html). I also see that shallow-renderer ( https://www.npmjs.com/package/react-shallow-renderer ) is versioned 16, and was last updated 2 years ago, suggesting to me that it is not up to date with React 18.
It would be nice if some clarification of the state of this feature was added to the page. (I'd be happy to volunteer to make such a PR, but I have no way of knowing what the definitive answer is :-) )
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンク先の shallow renderer のドキュメントページと react-test-renderer/shallow.js のエントリポイントから始め、リンク先の test renderer のドキュメントと比較します。React 18 におけるこの機能のステータスと、分離された react-shallow-renderer パッケージが現行のものかどうかを確認します。ドキュメントにステータスが明確に記載され、ナビゲーションに適切に表示されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100