The fact that nobody has "copied" your frontend code is not because it's 'private'. It's because nobody cares to. Nobody wants to copy this frontend code. We just want to improve it.
Believing that your frontend code is so valuable that it needs to be protected is a gross overestimate. It's not. It's just not that big of a deal. And to believe that keeping it private has successfully thwarted copycats, regardless of intent, is false cause fallacy. Truth is nobody cares to copy this code. We just want to contribute to it.
Furthermore, by keeping your code private, you miss out on the improvements and innovations that come from community contributions like this. Open source collaboration can lead to better experiences, more reliable code, and faster innovation. It's a win-win for everyone.