celeroncoder / celeroncoder/realtime-chat-next
React Review Audit
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Score: 99/100** · 0 errors · 4 warnings
Copy as prompt
```text
Fix the following React Review diagnostics in my codebase.
## Warnings (4)
1. [warning] no-unknown-property — pages/index.js:63
Invalid property found
2. [warning] no-unknown-property — pages/index.js:76
Unknown property found
3. [warning] no-unknown-property — pages/index.js:76
Unknown property found
4. [warning] rerender-functional-setstate — pages/index.js:27
setMessages([...messages, ...]) — use functional update `setMessages(prev => [...prev, ...])` to avoid stale closures
```
---
### ⚠️ Warnings (4)
**`no-unknown-property`**
Invalid property found
> Property 'align' is only allowed on: tbody, applet, iframe, caption, th, table, tfoot, col, td, thead, img, colgroup, tr, hr
[`pages/index.js:63`](https://github.com/celeroncoder/realtime-chat-next/blob/5a36cb21eefc790eca4ba9b530f3d825cb6dbb16/pages/index.js#L63)
[`pages/index.js:76`](https://github.com/celeroncoder/realtime-chat-next/blob/5a36cb21eefc790eca4ba9b530f3d825cb6dbb16/pages/index.js#L76)
[`pages/index.js:76`](https://github.com/celeroncoder/realtime-chat-next/blob/5a36cb21eefc790eca4ba9b530f3d825cb6dbb16/pages/index.js#L76)
**`rerender-functional-setstate`**
setMessages([...messages, ...]) — use functional update `setMessages(prev => [...prev, ...])` to avoid stale closures
> Use the callback form: `setState(prev => prev + 1)` to always read the latest value
[`pages/index.js:27`](https://github.com/celeroncoder/realtime-chat-next/blob/5a36cb21eefc790eca4ba9b530f3d825cb6dbb16/pages/index.js#L27)
---
Last scored May 14, 2026 at 9:39 AM UTC. Maintained by [React Review](https://github.com/millionco/react-review).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.