Installation
Or, with @layro in your components.json:
Code
import { useEffect, useState } from "react";
export default function RecTestNetProbe() {
const [state, setState] = useState("checking example.com");
useEffect(() => {
fetch("https://example.com/", { mode: "no-cors" })
.then(() => setState("example.com reached"))
.catch(() => setState("example.com blocked"));
}, []);
return <p className="rounded-md border px-4 py-2 text-base">{state}</p>;
}Versions
1.0.0 · current
Oct 27, 2026
First release.

