LTLayro Test

Rec Test Hover Loop

A test component for the recorder, removed after testing.

Installation

npx shadcn@latest add https://layro.dev/r/layro-test/rec-test-hover-loop.json

Or, with @layro in your components.json:

npx shadcn@latest add @layro/layro-test/rec-test-hover-loop

Code

export default function RecTestHoverLoop() {
  return (
    <button
      type="button"
      className="rounded-md border px-4 py-2 text-sm"
      onMouseEnter={() => {
        while (true) {}
      }}
    >
      Hover hangs
    </button>
  );
}

Versions

  1. 1.0.0 · current

    Oct 27, 2026

    First release.

Similar components