-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use babel-plugin-rawact? #280
Comments
So I took a look, and the only issue with this, is that we've completely removed the dependency on any react (even at build time), we actually transform directly to an AST using only Babel's support for recognizing JSX trees, and since we have API's to represent both natively and on the javascript side, there's a bit more glue that we require for event life cycles. Looks like |
Thanks @dmikey, makes sense. It looks to me like the counterpart to React VDOM is in raster.js (https://github.com/syrjs/core/blob/develop/lib/rasters/dom/raster.js). I saw it before, wonder if we should documented it better someday. I think a comparison would be nice. |
That's actually a great idea. Re-opening issue for discussion. You're totally right, that it should be better documented so that the comparison makes more sense. |
I found https://github.com/sokra/rawact (babel-plugin-rawact) last week, wonder if it could help support a similar programming API more efficiently?
The text was updated successfully, but these errors were encountered: