Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026
The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.
When working in Next.js, do you see a blank page after you programmatically call router.push()?
I had this problem too, and here’s how I solved it.
Don’t write return after calling router.push(), and don’t use it as a return value.
Never use return when you use it.
For example, don’t do this:
router.push('/')
return
And don’t do this:
return router.push('/')
Do this:
router.push('/')