1

I am using Visual Studio 2015 with update 1 release candidate. I can get React.js code and syntax highlighting to work inside a .JSX file, but nothing works inside a .TSX file. To get the .jsx file to work, I just put these 3 lines in my default.aspx page. I thought that update 1 for Visual Studio 2015 supported .tsx files? What do I have to do to get them to work?

script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.2/react.min.js"
script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.2/react-dom.min.js">
script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js">

1 Answer 1

1

This should help you get started:

https://github.com/Microsoft/TypeScript/wiki/JSX

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.