If you are using today’s most popular web framework such as Angular, they try to obfuscate and minimize the front end code. Such front end code may not be easy to read by humans compared to seeing a repo so I’d still keep front end repos private. You may also not want to allow others to easily fork your front end code. But you are right, nothing sensitive should be sent as front end code including business logic so you might as well think of it as a public repo.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store