aidenybai / aidenybai/nextjs-dev-server-temp
React Review Audit
- 主要语言
- JavaScript
- 星标
- 2
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
**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).
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。