aidenybai / aidenybai/nextjs-dev-server-temp
React Review Audit
- Ngôn ngữ chính
- JavaScript
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Score: 99/100** · 0 errors · 1 warning
Copy as prompt
```text
Fix the following React Review diagnostics in my codebase.
## Warnings (1)
1. [warning] rerender-functional-setstate — pages/index.tsx:18
setCount(count + ...) — use functional update to avoid stale closures
```
---
### ⚠️ Warnings (1)
**`rerender-functional-setstate`**
setCount(count + ...) — use functional update to avoid stale closures
> Use the callback form: `setState(prev => prev + 1)` to always read the latest value
[`pages/index.tsx:18`](https://github.com/aidenybai/nextjs-dev-server-temp/blob/0c2700a3795f62311ffe68cb42944f930eec7199/pages/index.tsx#L18)
---
Last scored May 18, 2026 at 10:18 AM UTC. Maintained by [React Review](https://github.com/millionco/react-review).
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.