5 ms·
I haven't seen a huge emphasis on SSI + client other than projects like Next (which is ok but kind of clunky). My experience with Hack was that it was just ser
by nkozyra 5y ago
I haven't seen a huge emphasis on SSI + client other than projects like Next (which is ok but kind of clunky).
My experience with Hack was that it was just server-side ... is there some front-end aspect to Hack?
- connordoner 5y agoThere is: it's called XHP (https://docs.hhvm.com/hack/XHP/introduction https://docs.hhvm.com/hack/XHP/introduction). That said, I'm not sure how you'd go about server-side rendering React from Hacklang, as it seems that the open-source solution to do so is no longer supported (https://github.com/hhvm/xhp-js https://github.com/hhvm/xhp-js).
- fredemmott 5y agoTo clarify, xhp-js was not server-side rendering - it's a framework for generating javascript code, and getting an DOM element ID for a react element that the hack code can refer to and use elsewhere, e.g. by passing to some other generated JS.
- deleted 5y ago[deleted]