react-server675fbba4
react-servertreemaintestfixturesnavigation-location.jsx
test/fixtures/navigation-location.jsxjsx303 B9e55cf1d
"use client";

import { usePathname, useSearchParams } from "@lazarv/react-server/navigation";

export default function Location() {
  const pathname = usePathname();
  const searchParams = useSearchParams();

  return (
    <pre>
      {pathname}
      {JSON.stringify(searchParams)}
    </pre>
  );
}