write a react button that doesn't rerender on hover but has hover effects with tailwind…
- User
write a react button that doesn't rerender on hover but has hover effects with tailwind and global CSS variable colors
Assistant
Here's a React button that uses CSS-only hover effects to avoid re-renders:
jsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.