Score: 97/100 · 0 errors · 4 warnings
Copy as prompt
Fix the following React Review diagnostics in my codebase.
## Warnings (4)
1. [warning] design-no-three-period-ellipsis — app/[searchTerm]/loading.tsx:5
Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `…`)
2. [warning] nextjs-missing-metadata — app/page.tsx:1
Page without metadata or generateMetadata export — hurts SEO
3. [warning] nextjs-no-img-element — app/[searchTerm]/components/item.tsx:27
Use next/image instead of <img> — provides automatic optimization, lazy loading, and responsive srcset
4. [warning] react-compiler-destructure-method — app/components/Shearch.tsx:11
Destructure for clarity: `const { push } = useRouter()` then call `push(...)` directly — easier for React Compiler to memoize and clearer about which methods this component depends on⚠️ Warnings (4)
design-no-three-period-ellipsis
Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or …)
Use the typographic ellipsis "…" (or
…) instead of three periods — pairs with action-with-followup labels ("Rename…", "Loading…")
app/[searchTerm]/loading.tsx:5
nextjs-missing-metadata
Page without metadata or generateMetadata export — hurts SEO
Add
export const metadata = { title: '...', description: '...' }orexport async function generateMetadata()
nextjs-no-img-element
Use next/image instead of <img> — provides automatic optimization, lazy loading, and responsive srcset
import Image from 'next/image'— provides automatic WebP/AVIF, lazy loading, and responsive srcset
app/[searchTerm]/components/item.tsx:27
react-compiler-destructure-method
Destructure for clarity: const { push } = useRouter() then call push(...) directly — easier for React Compiler to memoize and clearer about which methods this component depends on
Destructure the method up front:
const { push } = useRouter()then callpush(...)directly — clearer dependency graph and easier for React Compiler to memoize
Last scored May 14, 2026 at 7:35 AM UTC. Maintained by React Review.
Activity
0No activity yet.