`useParams()` reads dynamic route params (like `[id]`), and `useSearchParams()` reads the query string. Both are client hooks, so they must be used in Client Components.