Nested Path Params in React Router not working properly
I want to display all the comments of a given post and when I click in a comment it takes me to a page with $commentId: /posts/$postId/comments/$commentId
Right now I can only display the posts but I can't show their corresponding comments, let alone go to the commentId path
I have this file structure for now:
posts.route.tsx
posts.index.tsx
post.$postId.tsx
post.$postId.comments.tsx
never executes but the path changes in the address bar
Right now I can only display the posts but I can't show their corresponding comments, let alone go to the commentId path
I have this file structure for now:
posts.route.tsx
posts.index.tsx
post.$postId.tsx
post.$postId.comments.tsx
never executes but the path changes in the address bar