Fix the following React Review diagnostics in my codebase.
## Warnings (16)
1. [warning] no-unknown-property — src/app/components/Navbar.jsx:16
Unknown property found
2. [warning] no-unknown-property — src/app/components/OutputDisplay.jsx:19
Unknown property found
3. [warning] design-no-three-period-ellipsis — src/app/components/OutputDisplay.jsx:10
Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `…`)
4. [warning] no-unknown-property — src/app/page.js:91
Unknown property found
5. [warning] nextjs-missing-metadata — src/app/page.js:1
Page without metadata or generateMetadata export — hurts SEO
6. [warning] design-no-three-period-ellipsis — src/app/page.js:10
Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `…`)
7. [warning] design-no-three-period-ellipsis — src/app/page.js:15
Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `…`)
8. [warning] prefer-useReducer — src/app/page.js:21
Component "Home" has 5 useState calls — consider useReducer for related state
9. [warning] rerender-state-only-in-handlers — src/app/page.js:22
useState "code" is updated but never read in the component's return — use useRef so updates don't trigger re-renders
10. [warning] rendering-hydration-no-flicker — src/app/page.js:29
useEffect(setState, []) on mount causes a flash — consider useSyncExternalStore or suppressHydrationWarning
11. [warning] no-unknown-property — src/app/components/CodeEditor.jsx:99
Unknown property found
12. [warning] no-effect-chain — src/app/components/CodeEditor.jsx:33
useEffect reacts to "hasInitialized" which is set by another useEffect — chains of effects add an extra render per link and become rigid as code evolves. Compute what you can during render and write all related state inside the event handler that originally fires the chain
13. [warning] rerender-state-only-in-handlers — src/app/components/CodeEditor.jsx:25
useState "editorInstance" is updated but never read in the component's return — use useRef so updates don't trigger re-renders
14. [warning] rerender-state-only-in-handlers — src/app/components/CodeEditor.jsx:26
useState "hasInitialized" is updated but never read in the component's return — use useRef so updates don't trigger re-renders
15. [warning] rendering-hydration-no-flicker — src/app/components/CodeEditor.jsx:28
useEffect(setState, []) on mount causes a flash — consider useSyncExternalStore or suppressHydrationWarning
16. [warning] nextjs-no-font-link — src/app/layout.js:15
Loading Google Fonts via <link> — use next/font instead for self-hosting, zero layout shift, and no render-blocking requests
Copy as prompt
Unknown property found · 4 in 4 files
no-unknown-propertysrc/app/components/Navbar.jsxsrc/app/components/OutputDisplay.jsxsrc/app/page.jssrc/app/components/CodeEditor.jsxThree-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `…`) · 3 in 2 files
design-no-three-period-ellipsissrc/app/page.jssrc/app/components/OutputDisplay.jsxuseState "code" is updated but never read in the component's return — use useRef so updates don't trigger re-renders · 3 in 2 files
rerender-state-only-in-handlerssrc/app/components/CodeEditor.jsxsrc/app/page.jsuseEffect(setState, []) on mount causes a flash — consider useSyncExternalStore or suppressHydrationWarning · 2 in 2 files
rendering-hydration-no-flickersrc/app/page.jssrc/app/components/CodeEditor.jsxPage without metadata or generateMetadata export — hurts SEO · 1 in 1 file
nextjs-missing-metadatasrc/app/page.jsComponent "Home" has 5 useState calls — consider useReducer for related state · 1 in 1 file
prefer-useReducersrc/app/page.jsuseEffect reacts to "hasInitialized" which is set by another useEffect — chains of effects add an extra render per link and become rigid as code evolves. Compute what you can during render and write all related state inside the event handler that originally fires the chain · 1 in 1 file
no-effect-chainsrc/app/components/CodeEditor.jsxLoading Google Fonts via <link> — use next/font instead for self-hosting, zero layout shift, and no render-blocking requests · 1 in 1 file
nextjs-no-font-linksrc/app/layout.jsReviewed by reactreview for commit 149babd. Configure here.