Joe Stanton
Joe Stanton
This is a major regression that's just bitten us :(
Hey - you're right that A) this isn't supported, and B) it wouldn't be difficult to implement. See here: https://github.com/JoeStanton/babel-transform-js-to-jsx/blob/master/index.js#L32 We currently visit any `CallExpression`, i.e. statements looking like `div({...
Yes - the former is simple (in fact even simpler than you state), you'd just modify the conditional to peek inside any `MemberExpression` contained within the `CallExpression` and check if...