react-server675fbba4
react-servertreemaintestfixtureshttp-pathname-searchparams.jsx
test/fixtures/http-pathname-searchparams.jsxjsx291 B24cef8b2
import { usePathname, useSearchParams } from "@lazarv/react-server";

export default function HttpUrlPage() {
  const pathname = usePathname();
  const searchParams = useSearchParams();
  return (
    <>
      <pre>{JSON.stringify(searchParams)}</pre>
      <p>{pathname}</p>
    </>
  );
}