useparams remix

import { useParams } from "@remix-run/react";

function Post() {
  const { postId } = useParams()
  return postId
}
mernme