Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 080c48c

Browse files
committed
Add Babel version to blog post
(cherry picked from commit 4b3b56f)
1 parent 5b193e0 commit 080c48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_posts/2015-09-10-react-v0.14-rc1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ These builds are also available in the `react` and `react-dom` packages on bower
111111
112112
- #### Compiler optimizations
113113
114-
React now supports two compiler optimizations that can be enabled in Babel. 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.
114+
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.
115115
116116
**Inlining React elements:** The `optimisation.react.inlineElements` transform converts JSX elements to object literals like `{type: 'div', props: ...}` instead of calls to `React.createElement`.
117117

0 commit comments

Comments
 (0)