Skip to content

Commit 5d9659d

Browse files
committed
2.0 release announcement
1 parent ea62c1b commit 5d9659d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "ReactJS.NET 2.0 - Babel and React 0.14"
3+
layout: post
4+
author: Daniel Lo Nigro
5+
---
6+
7+
I'm happy to announce the release of ReactJS.NET 2.0! The major change in this release is the switch from JSXTransformer to [Babel](http://babeljs.io/) for transformation of JavaScript files. JSXTransformer is now deprecated, and Babel supports many more ES6 features than JSXTransformer did (see [the Babel site](http://babeljs.io/docs/learn-es2015/) for a full list). Additionally, syntax error messages are now more detailed and display the correct file name and line number.
8+
9+
Full list of changes:
10+
11+
* [#138](https://github.com/reactjs/React.NET/issues/138) - Use Babel to transform JavaScript files.
12+
* [#171](https://github.com/reactjs/React.NET/issues/171) - Updated ASP.NET 5 integration to support Beta 8.
13+
* [#164](https://github.com/reactjs/React.NET/issues/164) - Upgraded to React 0.14.
14+
* By default, only handle `*.jsx` files in ASP.NET 5 and OWIN middleware. You can modify the `Extensions` setting in `BabelFileOptions` to change this behaviour.
15+
16+
Under the hood:
17+
* [#168](https://github.com/reactjs/React.NET/issues/168) - Everything relating to JSX transformer has been renamed to Babel (eg. `IJsxTransformer` is now `IBabel`).
18+
* Renamed `React` assembly to `React.Core`. The NuGet package has been called "React.Core" forever, but the corresponding assembly name didn't match, resulting in confusion.
19+
* Deprecated `IReactEnvironment.TransformJsxFile` and `IReactEnvironment.TransformJsx` have finally been removed. These methods have been obsolete since ReactJS.NET 0.2.
20+
21+
Have fun, and as always, please feel free to send feedback or bug reports
22+
[on GitHub](https://github.com/reactjs/React.NET).
23+
24+
— Daniel

0 commit comments

Comments
 (0)