Deploying a React app to Github Pages with readable components

Hello,
I managed to deploy my react app to Github and even Github Pages is working fine, BUT…
all the code that I wrote is compiled to pure javascript and it is also minified. This way I can not show how I dealt with some of the problems, how I organized the code etc…

Is there a way to deploy a react app to github so that all the components are easily readable?

Keep the main/master branch and not just have the gh-pages branch.

But personally, I would suggest looking at using Netlify instead of GH pages.

1 Like