hhvm / xhp-js Goto Github PK
View Code? Open in Web Editor NEWEasily create JS controllers for XHP elements, and XHP wrappers for React elements
License: MIT License
Easily create JS controllers for XHP elements, and XHP wrappers for React elements
License: MIT License
Most Hack libraries are licensed under MIT, but this one is still BSD+PATENTS.
All code in master and #9 lives at the root namespace.
We can now use xhp in namespaces ๐.
I have not decided on a namespace name just yet, so I have instead created an issue so we won't forget.
The example provided in the example
repository will not work with the latest version of Browserify, because seems like Browserify does not expose the require()
method the global scope.
What can be done for using the modules with the magical require()
?
Older versions of React had a different way of creating components.
I am almost certain that this doesn't work in React 17.
Some research by someone who knows Reacts internals is required to bring this functionality into the modern era.
One of the things that might make things more difficult (or more easy, depending on how you look at it), is how React 17 handles event handlers.
Also a bit unrelated, but a bit less fun is that JSX can compile down to two "syntaxes".
New JS Transform
The last real commit to this project is from 2017. It requires hhvm ~3.6
. Is this project still useful enough to upgrade to modern day hack?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.