title: Tool to transpile from js to jsx
body: <p>I'm curious if any of the transpiling tools will convert from plain JS to JSX. Babel will transpile JSX to JS, but as far as I know it cannot go back to JSX.</p>
  
  <p>From the <a href="https://facebook.github.io/react/docs/jsx-in-depth.html#the-transform" rel="noreferrer">example</a>:</p>
  
  <pre><code>var Nav;
  // Input (JSX):
  var app = &lt;Nav color="blue" /&gt;;
  // Output (JS):
  var app = React.createElement(Nav, {color:"blue"});
  </code></pre>
  
  <p>Are there tools that go the other direction:</p>
  
  <pre><code>var Nav;
  // Input (JS):
  var app = React.createElement(Nav, {color:"blue"});
  // Output (JSX):
  var app = &lt;Nav color="blue" /&gt;;
  </code></pre>
  
  <p>Thanks!</p>