hunk.code_window:         document.head.removeChild(link);
         } catch (error) {}
  
hunk.labels: keep add keep
hunk.after_edit:     }
  
hunk.file_path: packages/remix-react/linksPreloading.ts
hunk.type: add
file: import { useState } from "react";
  
  export default function Counter() {
    let [count, setCount] = useState(0);
    return (
      <button data-test-id="counter-button" onClick={() => setCount(count + 1)}>
        {`Clicked ${count}`}
      </button>
    );
  }
  