How to get URL query string parameters in Next.js - Coding Beauty

How to get URL query string parameters in Next.js - Coding Beauty