📌 Understanding Dynamic Routing
- ✅ To define a dynamic route, wrap the folder or file name in
[ ]. - ✅ Example: Create
app/dynamic-routes/[id]/page.jsx to handle dynamic employee profiles. - ✅ You can access the route parameter using
params.details inside the page component.