pages/post/[postId]/[commentId].js => /post/post-1/comments/comment-1
{ postId: 'post-1', commentId: 'comment-1' }
<Link href="/post/[postId]/comments/[commentId]" as={`/post/${postId}/comments/${commentId}`} > <a>Link to comment</a> </Link>
210
2 years ago
0 comments
pages/post/[postId]/[commentId].js => /post/post-1/comments/comment-1
{ postId: 'post-1', commentId: 'comment-1' }
<Link href="/post/[postId]/comments/[commentId]" as={`/post/${postId}/comments/${commentId}`} > <a>Link to comment</a> </Link>
Frontend
Resource
Average
Average
No recent searches
Leave a reply