xhp-lib icon indicating copy to clipboard operation
xhp-lib copied to clipboard

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.

Results 3 xhp-lib issues
Sort by recently updated
recently updated
newest added

# Background For some context that inspired this request, currently working on a site using XHP for server-side HTML rendering. Looked into progressive enhancement frameworks for JS and found one...

```HACK final xhp class Poof extends x\element { attribute string data-poof = 'gone'; //... } ()->:data-poof; // null ```

fixes #299 Fixes: - `string data-attr = 'default value'` is now observed from `->:data-attr`. - `string data-attr @required` is now enforced in `->data-attr`.

CLA Signed