From 19953781e48661a9c0a44d21fbb39a6091dde232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 7 Mar 2016 18:03:31 -0800 Subject: [PATCH] Merge pull request #6207 from zpao/15rc-blog-post-corrections Remove a couple old updates from blog post (cherry picked from commit bb9629476ecede0b7de7acb64443ac303d2e9b25) --- docs/_posts/2016-03-07-react-v15-rc1.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/_posts/2016-03-07-react-v15-rc1.md b/docs/_posts/2016-03-07-react-v15-rc1.md index 3115d2906f..1f9459ab20 100644 --- a/docs/_posts/2016-03-07-react-v15-rc1.md +++ b/docs/_posts/2016-03-07-react-v15-rc1.md @@ -76,13 +76,8 @@ Each of these changes will continue to work as before with a new warning until t - `LinkedValueMixin` and `valueLink` are now deprecated due to very low popularity. If you need this, you can use a wrapper component that implements the same behavior: [react-linked-input](https://www.npmjs.com/package/react-linked-input). -### Notable enhancements - -- Added `React.Children.toArray` which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in your `render` methods, especially if you want to reorder or slice `this.props.children` before passing it down. In addition, `React.Children.map` now returns plain arrays too. - ### New helpful warnings -- React DOM now warns you when nesting HTML elements invalidly, which helps you avoid surprising errors during updates. - If you use a minified copy of the _development_ build, React DOM kindly encourages you to use the faster production build instead. - React DOM: When specifying a unit-less CSS value as a string, a future version will not add `px` automatically. This version now warns in this case (ex: writing `style={{width: '300'}}`. (Unitless *number* values like `width: 300` are unchanged.) - Synthetic Events will now warn when setting and accessing properties (which will not get cleared appropriately), as well as warn on access after an event has been returned to the pool.