DEV Community

Discussion on: Deploy a React app on heroku the right way

Collapse
 
dcsan profile image
dc

how does this work for each time you build the react app, you then commit all those files to git? seems that repo would balloon out really quickly. isn't there a better way to handle temporary build files than git with heroku? seems a very frequent use case.

Collapse
 
samrullo profile image
samrullo

Are you familiar with .gitignore?