Back to prompts
Find render-time non-determinism such as Date.now(), Math.random(), browser-only APIs, or locale-dependent formatting in render paths. Refactor: - Move non-determinism to effects or server-only logic. Output: - List issues fixed.
Related Prompts
View alluseEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect
Client/Server Boundary Violations
Scan the repository for client components that import server-only modules, heavy utilities, or secre...
Next.jsServer Components
Accidental Re-render Detection
Find props and state patterns that cause unnecessary re-renders. Detect: - Inline object/array prop...
ReactPerformance
ESLint Disable Cleanup
You are a senior frontend engineer acting as a repo-wide refactor agent. Objective: Find, evaluate,...
ESLintCode Quality