Reactjs: Unexpected token ‘

I solved it using type = “text/babel”

<script src="https://stackoverflow.com/questions/20905227/js/reactjs/main.js" type = "text/babel"></script>

Leave a Comment