locked
React JS with ES6 support is not working RRS feed

  • Question

  • Hi there,

    I spent more than 2 days to figure out what is going on with Red squabbling issue in visual studio.

    I am trying to fix JSX harmony issue in visual studio 2015. I modified the file extension to be .JSX and .ES6 in case that would help VS pick up on it. No luck...

    If I am not able to resolve in VS 2015, we need to move to WebStorm.

    Your help will be much appreciated in advance. 

    JSX, React and ES6 support issue in VS 2015

    Thanks & Regards

    Prem.


    • Edited by PB2006 Thursday, November 5, 2015 4:49 AM
    Thursday, November 5, 2015 4:46 AM

Answers

  • Hi boyapati,

    Thank you for posting in MSDN forum.

    I think you need to install the Web Compiler extension: https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c

    Compilation of LESS, Scss, JSX, ES6 and (Iced)CoffeeScript files.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Proposed as answer by Jiayi Li Friday, November 13, 2015 9:23 AM
    • Marked as answer by Jiayi Li Wednesday, November 18, 2015 7:55 AM
    Friday, November 6, 2015 6:07 AM

All replies

  • Hi boyapati,

    Thank you for posting in MSDN forum.

    I think you need to install the Web Compiler extension: https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c

    Compilation of LESS, Scss, JSX, ES6 and (Iced)CoffeeScript files.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Proposed as answer by Jiayi Li Friday, November 13, 2015 9:23 AM
    • Marked as answer by Jiayi Li Wednesday, November 18, 2015 7:55 AM
    Friday, November 6, 2015 6:07 AM
  • This is NOT the solution. The web compiler does not fix all of the parser errors in the editor. Please acknowledge this problem and provide a fix!!!!
    Thursday, March 31, 2016 4:33 PM
  • Hi there,

    As Visual studio did not have support of React JS, so we have moved to Webstorm. It  is working great for us.

    Thanks

    Boyapati

    Wednesday, May 11, 2016 3:10 PM
  • You are right. It is not a right solution. We do not create JavaScript files with JSX extension, so in this scenario, it does not know what we are trying to do...
    Wednesday, May 11, 2016 3:11 PM