Minify .jsx files in React JS Minify .jsx files in React JS reactjs reactjs

Minify .jsx files in React JS


In-browser JSX Transformation is generally not recommended for usage in production.

So you have the option to precompile the JSX into plain JavaScript and then continue with the minifying like you would normally do.

For more information: https://facebook.github.io/react/docs/tooling-integration.html

Personally I am using Reactify for the JSX to JavaScript transformation and then I run UglifyJS to minify the result. It is very easy to automate in your build process.