This is my dir structure on Next.js app:
pages
|-users
| |-index.js
| |-[userid]
| |-index.js
index.js
when I call domain.com/users/1
I want the users->index.js component to be rendered as well. it only renders the /userid route with this structure.
equivalent in react-router <Outlet/>
but I couldn't find how to do in Next.js