No need to use it for SSR pages. In your getServerSideProps, there's a context parameter that returns the route query. You can get it by calling context.params.query where query is the query parameter. e.g: www.example.com?q=what+is+your+name q in the URL above is the query parameter
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No need to use it for SSR pages. In your
getServerSideProps, there's acontextparameter that returns the route query. You can get it by callingcontext.params.querywherequeryis the query parameter. e.g:www.example.com?q=what+is+your+nameqin the URL above is the query parameter