I'm in no place to recommend technologies to chose (I'm no expert) but the documentation argument is a good one. There are a lot of articles from the past few decades introducing different odds and ends with PHP. Additionally, PHPDocs are great but they're nothing in comparison to the tutorials and examples provided by things like ReactJS' or Vue's official docs.