On the other hand, Facebook being built on PHP meant they eventually felt the need to dedicate significant engineering time into building their own PHP VM (HHVM) along with their own spin-off of the PHP language (Hack) to get it to work for them.
They also felt the need to create other open source things you have had heard of, such as react.
http://techcrunch.com/2012/09/11/mark-zuckerberg-our-biggest...
It was only 4 years ago when creating HTML5 based hybrid mobile apps was "the biggest mistake Facebook ever made", and it was all about "native apps" for iOS and Android... Now React and React Native are "the new hotness"...
But yes, it is a circle of life.