How to use Thymeleaf th:text in reactJS : <p>I am running a springboot application with Thymeleaf and reactJS. All the HTML text are read from message.properties by using th:text in the pages, but when I have th:text in reactJS HTML block, reactJS seems angry about it. </p>

<pre><code>render() {
  return (
      &lt;input type="text" th:text="#{home.welcome}"&gt;
  )
}
</code></pre>

<p>The error is:</p>

<pre><code>Namespace tags are not supported. ReactJSX is not XML.
</code></pre>

<p>Is there a walkaround besides using dangerouslySetInnerHTML?</p>

<p>Thank you!</p>
