reactjs - Better ES6 / ES7 React support in Visual Studio 2015? Possibly with TypeScript? -


visual studio 2015 support es6/es7 syntax react has definite limitations compared babel / sublime (or atom, vs code, etc). specifically, trying achieve 'support' es6 imports / exports , es7 decorators , class properties in jsx files without turning off js debugging / intellisense in visual studio 2015 (.net 4.5 project not version 5).

i've found few things helpful, such hack node server vs utilizes parse jsx (and working on modifying use babel, have ran few issues approach).

i have downloaded node tools, turned on es6 intellisense preview, , have typescript 1.7.6 installed.

so, better, still has many limitations.

it looks microsoft pouring of jsx support typescript. while recognize of benefits of typescript, @ point, don't want write jsx in typescript, understand, valid js valid typescript, , if can achieve better react / es6 / es7 support (or in future) changing extension of files js / jsx ts /tsx, fine; however, when tried this, visual studio 2015 instantly began complaining lack of typing definitions , explicit types within jsx syntax. can turn these off?

in other words, anyway tell visual studio 2015 'highlight file typescript, provide basic syntax validation, nice intellisense, don't worry building, sourcemaps or else' (i using webpack this)?

to clear, question "how can achieve absolute best es6/es7 support react in visual studio 2015" because problem have .net 4.5 mvc app needs built, , front-end needs 'modern' es6/es7 react.

if there way solve problem (like vs code + mono -- required .net 5+), or if have advice on how best answer above question, appreciated. in advance can offer!

best thing have found far hack visual studio's node server , use plugin wrote webpack debugging.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -