My question is, how sustainable is it to rely primarily on JS? Does it make sense according to the current state of affairs?
I like the JS approach because the project uses one language, the same best practices, concepts, and guidelines for both the back end and the front end. On the other hand, I have the impression that the PHP ecosystem is more mature (stable and predictable). I really like the current framework that I use for other projects. At the same time, I believe that JS is the language with even greater potential in the future.
I understand that every tool has its purpose, but JS has evolved a lot and there are many counterpart solutions to PHP, for example in JS.
Thank you very much.