xhp-lib VS xhp-js

Compare xhp-lib vs xhp-js and see what are their differences.

xhp-lib

Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions. (by hhvm)

xhp-js

Easily create JS controllers for XHP elements, and XHP wrappers for React elements (by hhvm)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
xhp-lib xhp-js
1 2
1,372 55
- -
1.1 0.0
12 months ago over 2 years ago
Hack Hack
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

xhp-lib

Posts with mentions or reviews of xhp-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-02.

xhp-js

Posts with mentions or reviews of xhp-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-31.
  • LuaX: A Lua Dialect with JSX
    8 projects | news.ycombinator.com | 31 Dec 2023
    They also made XHP-JS, though it seems inactive.

    https://engineering.fb.com/2015/07/09/open-source/announcing...

    https://github.com/hhvm/xhp-js

  • Ask HN: State of PHP at Facebook
    7 projects | news.ycombinator.com | 27 Oct 2021
    There is: it's called XHP (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).

What are some alternatives?

When comparing xhp-lib and xhp-js you can also consider the following projects:

jest - Delightful JavaScript Testing. [Moved to: https://github.com/jestjs/jest]

hack-codegen - Library to programatically generate Hack code and write it to signed files