Browse Source

fix(docs): adjust babel release to match the babel.js changelog

main
songawee 10 years ago
parent
commit
00c58f7777
  1. 2
      _posts/2015-10-07-react-v0.14.md

2
_posts/2015-10-07-react-v0.14.md

@ -133,7 +133,7 @@ If you can’t use `npm` yet, we provide pre-built browser builds for your conve
- #### Compiler optimizations
React now supports two compiler optimizations that can be enabled in Babel 5.8.23 and newer. Both of these transforms **should be enabled only in production** (e.g., just before minifying your code) because although they improve runtime performance, they make warning messages more cryptic and skip important checks that happen in development mode, including propTypes.
React now supports two compiler optimizations that can be enabled in Babel 5.8.24 and newer. Both of these transforms **should be enabled only in production** (e.g., just before minifying your code) because although they improve runtime performance, they make warning messages more cryptic and skip important checks that happen in development mode, including propTypes.
**Inlining React elements:** The `optimisation.react.inlineElements` transform converts JSX elements to object literals like `{type: 'div', props: ...}` instead of calls to `React.createElement`.

Loading…
Cancel
Save