To use this feature, you must have consistency . Unfortunately, the script integration you are using is not enabled.
A commit has recently been added that adds it, so most likely it will be there.
If you want to use it right away, you can either place the file somewhere, or simply add the script directly to the script:
<script> (function () { var tag = document.querySelector( 'script[type="application/javascript;version=1.7"]' ); if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) { alert('Bad JSFiddle configuration, please fork the original React JSFiddle'); } tag.setAttribute('type', 'text/jsx;harmony=true'); tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, ''); })(); </script>
The important line is 'text/jsx;harmony=true' . Check the updated script .
source share