title: Rendering custom html tag with react.js
body: <p>What I'm trying to do is quite easy at first however I get an (obviously completely useless) error from webpack and I'm wondering how it can be fixed, I want a simple "custom" tag to be rendered by React, the code is as follows:</p>
  
  <pre><code>          let htmlTag = "h" + ele.title.importance;
            let htmlTagEnd = "/h" + ele.title.importance;
            return(
              &lt;{htmlTag} key={elementNumber}&gt;{ele.title.content}&lt;{htmlTagEnd}&gt;
            );
  </code></pre>
  
  <p>Basically instead of having a predefined tag I want to have my own {template} tag, I know in this situation there would be work arounds for this (e.g. defining a className with my "importance" value and adding some css for that), but for the sake of science I'd like to know how (and if) this can be done in react/jsx.</p>