I added that as a random example of some custom logic that operates on routes - which is one advantage of using express together with NextJS. There's no special significance to parsing the int itself.
But thanks for pointing out the issue. I'll try to improve the article and code so hopefully the examples are more realistic.
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.
Hey Peter! Glad you liked the article :)
I added that as a random example of some custom logic that operates on routes - which is one advantage of using express together with NextJS. There's no special significance to parsing the int itself.
But thanks for pointing out the issue. I'll try to improve the article and code so hopefully the examples are more realistic.