As the title says, this is a simple code snippet to get URL Query params in Next.js using getInitialProps() method. In Next.js, getInitialProps() have context property where URL query can be fetched using query. See example code below. URL: http://...
Freelance Web & UX Designer
Freelance Web & UX Designer from Incredible India. I design and develop creative websites, landing pages and applications for startups and e
Markdown supported · ⌘↵ to post
No responses yet.