From 6f1229b2d6061ac9059ac044d345bf03bd0c04d6 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Thu, 10 Sep 2015 13:28:46 -0700 Subject: [PATCH] Add Babel version to blog post --- _posts/2015-09-10-react-v0.14-rc1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2015-09-10-react-v0.14-rc1.md b/_posts/2015-09-10-react-v0.14-rc1.md index a52e3c80..187bc367 100644 --- a/_posts/2015-09-10-react-v0.14-rc1.md +++ b/_posts/2015-09-10-react-v0.14-rc1.md @@ -111,7 +111,7 @@ These builds are also available in the `react` and `react-dom` packages on bower - #### Compiler optimizations - 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. + 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. **Inlining React elements:** The `optimisation.react.inlineElements` transform converts JSX elements to object literals like `{type: 'div', props: ...}` instead of calls to `React.createElement`.