react
react copied to clipboard
Support JSX as a pragma
Fixes #8
Implementation of jsxFactory is just a copy and paste from @sliptype's
pull request (cyclejs/react-dom#3).
Test cases have been rewritten in a DOM-free way (using enzyme).
There are still some points that I'm not sure, so I'll leave this to be a draft. I'll add some inline comments.
Thanks for the PR @ryota-ka!
@sliptype Could I ask your help to review this? Even a quick check would be beneficial, since you worked on this before.
@staltz As there's no response from @sliptype, I'll turn this PR into "Ready for review" from a draft. Could you help me with reviewing this? Thanks!