3 ms·
Interestingly the authors comparison language (PHP) has a facebook-created offshoot that supports this exact syntax, XHP[0]. [0] https://docs.hhvm.com/hack/XHP
by Dachande663 3y ago
Interestingly the authors comparison language (PHP) has a facebook-created offshoot that supports this exact syntax, XHP[0].
[0] https://docs.hhvm.com/hack/XHP/introduction https://docs.hhvm.com/hack/XHP/introduction
- joshmanders 3y agoIf I remember correctly, XHP was the precursor to JSX.
- tyingq 3y agoThey also made XHP-JS, though it seems inactive. Maybe that was the interim solution? https://engineering.fb.com/2015/07/09/open-source/announcing-xhp-js-building-efficient-user-interface-components-with-hack-react-and-xhp/ https://engineering.fb.com/2015/07/09/open-source/announcing... https://github.com/hhvm/xhp-js https://github.com/hhvm/xhp-js