Bug only on production mode First, run the production server: npm run build && npm run start Open http://localhost:3000 with your browser to see the result. How to see the bug 1- Open console on devtools 2- click in button PUSH HASH and REMOVE HASH and look at the browser console.