https://babeljs.io/docs/plugins/transform-react-inline-elements/
This would let us get around issues with createElement's API (which mixes in key and ref with the normal props), and avoid the headaches with the attempt in master at typing createElement.