CodeChefVIT / CodeChefVIT/papers-codechef
unnecessary params in useEffect dependencies in filterContent.tsx
オープン
- 主要言語
- TypeScript
- スター
- 20
- フォーク
- 64
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
according to [official react documentation](https://react.dev/reference/react/useState?utm_source=chatgpt.com)
"The set function has a stable identity, so you will often see it omitted from Effect dependencies, but including it will not cause the Effect to fire. If the linter lets you omit a dependency without errors, it is safe to do."
so lines 217:227 needs to be reassessed
コントリビューションガイド
評価
この issue はまだ評価されていません。