Raynos / mercury

A truly modular frontend framework
http://raynos.github.io/mercury/
MIT License
2.82k stars 143 forks source link

mercury-jsxify #143

Closed kuraga closed 9 years ago

kuraga commented 9 years ago

@Raynos,

I've created a version of mercury-jsxify based on reactify version 1.0.0: https://github.com/kuraga/mercury-jsxify

This version of reactify contains less code and dependencies then old 0.13.0. In my version I've deleted such additional options as visitors and a possibility to omit /** @jsx h */.

Sorry I didn't apply commits to you version but began from empty code. But feel free to use my code.

And I want to pull new commits from msx to mercury-jsx. Is it needed for your project?

And can we create some universal transformer or differences of h and React.create is more then names only? Thanks.

alexmingoia commented 9 years ago

See jsx-transform and gulp-jsx. jsx-transform is decoupled from both React and virtual-dom allowing you to use custom constructors, rename attributes, etc.

kuraga commented 9 years ago

@alexmingoia Great! Excellent!!! So I (we) can remake *-jsxify package to a browserify plugin for your package!

Raynos commented 9 years ago

@kuraga I dont maintain mercury-jsxify, it was a prototype.

Feel free to update the wiki to point to your version and use your version in the mercury examples. If you want the npm name you can have it.

kuraga commented 9 years ago

@Raynos @alexmingoia

https://www.npmjs.com/package/unijsxify