Browse Source

A couple small changes to the changelog for 0.13

main
Paul O’Shannessy 10 years ago
parent
commit
feeacd4d57
  1. 4
      _posts/2015-03-10-react-v0.13.md

4
_posts/2015-03-10-react-v0.13.md

@ -79,11 +79,11 @@ We've also published version `0.13.0` of the `react` and `react-tools` packages
* `--target` option is available on the jsx command, allowing users to specify and ECMAScript version to target. * `--target` option is available on the jsx command, allowing users to specify and ECMAScript version to target.
* `es5` is the default. * `es5` is the default.
* `es3` restored the previous default behavior. An additional transform is added here to ensure the use of reserved words as properties is safe (eg `this.static` will become `this['static']` for IE8 compatibility). * `es3` restores the previous default behavior. An additional transform is added here to ensure the use of reserved words as properties is safe (eg `this.static` will become `this['static']` for IE8 compatibility).
* The transform for the call spread operator has also been enabled. * The transform for the call spread operator has also been enabled.
### JSX ### JSX
#### Breaking Changes #### Breaking Changes
* A change was made to how some JSX was parsed, specifically around the use of `>` or `}` when inside an element. Previously it would be treated as a string but now it will be treated as a parse error. We will be releasing a standalone executable to find and fix potential issues in your JSX code. * A change was made to how some JSX was parsed, specifically around the use of `>` or `}` when inside an element. Previously it would be treated as a string but now it will be treated as a parse error. The [`jsx_orphaned_brackets_transformer`](https://www.npmjs.com/package/jsx_orphaned_brackets_transformer) package on npm can be used to find and fix potential issues in your JSX code.

Loading…
Cancel
Save