I\'m a newbie to NextJS, It looks so good on the first impression. But after giving it a chance I\'ve faced some problems like URL routing with custom params like react-router.<
First import Router
import Router from 'next/router'
Then if you want to use it in a Link tag
If you want to use it in a function or after a callback
Router.push({ pathname: '/about', query: { name: 'Sajad' }, })