Re: My react project doesn't work on github pages

Even I have the same problem. But When I deployed my application in Heroku I am getting a blank page. Could you please tell me step by step procedure you followed when deploying your application to Heroku.

That documentation will walk you through how to deploy a React app to GitHub Pages, and there's also information on that page under the heading "Notes on client-side routing" that explains the technical reason you were experiencing a routing issue. They also offer some potential solutions, so if you'd prefer to deploy to GitHub Pages rather than Heroku, you may be still be able to do so.