Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the JSXTransformer.js after Bower Install?

In order to use react, I need to have the following in my html file

<script src="http://fb.me/react-0.12.2.min.js"></script>
<script src="http://fb.me/JSXTransformer-0.12.2.js"></script>

I want to user local bower components instead of these links. So I installed react using bower install react

However, when I go into the react directory in my bower components, I do not see a 'JSXTransformer.js' file.

Where is this file? Why was it not installed via bower?

like image 384
MCharles Avatar asked Nov 08 '15 03:11

MCharles


1 Answers

It appears that JSXTransformer has been deprecated. The official article suggests using 'babel' instead.

https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html

like image 65
MCharles Avatar answered Nov 13 '22 05:11

MCharles