3 ms·
XHP-JS: Building efficient user interface components with Hack, React, and XHP
- el_duderino 11y agoSide question: I wonder how HN let this be posted as a duplicate - just the trailing slash in the URL? https://news.ycombinator.com/item?id=9859511 https://news.ycombinator.com/item?id=9859511
- pixelcort 11y agoDoes constructReactInstance require node.js servers?
- fredemmott 11y agoNo - it still renders the element client-side so that it supports interactive components. See: https://github.com/hhvm/xhp-js/blob/master/src/XHPReact.php https://github.com/hhvm/xhp-js/blob/master/src/XHPReact.php https://github.com/hhvm/xhp-js/blob/master/xhpjs.js#L94-100 https://github.com/hhvm/xhp-js/blob/master/xhpjs.js#L94-100