Open benzen opened 8 years ago
Hey, thanks. I actually think babel would be a perfect fit at this point too. I can't commit to this right now, but if you're willing to give it a spin I'll be happy to help.
I never wrote any babel plugin, so I'm maybe not the rigt person for this.
Still I found this https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-inline-elements
It's the babel plugin that do the heavy lifting for the jsx syntax
Hi everyone! I wrote babel hiccup plugin. Any feedback, please. I did it because I love clojurescript and react. https://github.com/callwait/babel-plugin-react-hiccup
Great job! Babel is 100% the way to go today
This project is a great idea.
But have you thought about using babel instead of sweet.js ? I assume most people who use react also use babel.
So it would be easier to adopt as a depedecy.
Just like babel has a react preset, we could have a react-hipccup preset. And there you don't even need a function/macro call.
Wouldn't it be perfect?