remix useparams
import { useParams } from "@remix-run/react";
function Post() {
const { postId } = useParams()
return postId
}
mernme
import { useParams } from "@remix-run/react";
function Post() {
const { postId } = useParams()
return postId
}