21 件のコメント (21 件のコメント)0 件のリアクション (0 件のリアクション)1 人の担当者 (1 人の担当者)TypeScript4,508 件のフォーク (4,508 件のフォーク)batch import
Good First IssueLow effortTask
Repository metrics
- Stars
- 39,454 個のスター (39,454 個のスター)
- PR merge metrics
- PR metrics pending (PR metrics pending)
説明
Description
You should avoid defining states that are not being used because unused states might affect while refactoring the codebase and introduces unnecessary operations by ReactJS. It is recommended to plan the behavior and operation of the component.
Occurrences
There are 9 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/appsmithorg/appsmith/issue/JS-0458/occurrences/
コントリビューターガイド
- 調査方針
- DeepSource リンク(deepsource.io/gh/appsmithorg/appsmith/issue/JS 0458/occurrences/)にリストされている 9 件の発生箇所を確認してください。各発生箇所は、未使用の状態定義が検出されたファイルと行番号を示しています。各ケースについて、その状態変数がコンポーネントまたはその子コンポーネントのどこでも実際に使用されていないことを確認してください。未使用の場合は、状態定義と関連する setter 呼び出しを削除してください。間接的な使用がないか確認することで、コンポーネントが引き続き正常に機能することを確認してください。リポジトリは TypeScript ベースの React であるため、関数コンポーネント内の useState 呼び出しを探してください。この課題には担当者が割り当てられているため、必要に応じて調整してください。
- 技術スタック
- typescriptreact
- 領域
- frontend
- Issue 種別
- リファクタリング
- 前提条件
- JavaScriptReact