From c0993bf1a808ceb13536c9afa04662e72366813b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 9 Mar 2016 10:28:13 -0800 Subject: [PATCH] Fix style= formatting in v15 rc blog post (cherry picked from commit 8c57fd9d311c62f71a6e54462f161e857c78a550) --- docs/_posts/2016-03-07-react-v15-rc1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2016-03-07-react-v15-rc1.md b/docs/_posts/2016-03-07-react-v15-rc1.md index 1f9459ab20..cec11fc6be 100644 --- a/docs/_posts/2016-03-07-react-v15-rc1.md +++ b/docs/_posts/2016-03-07-react-v15-rc1.md @@ -79,7 +79,7 @@ Each of these changes will continue to work as before with a new warning until t ### New helpful warnings - 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.) +- 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. - Elements will now warn when attempting to read `ref` and `key` from the props. - React DOM now attempts to warn for mistyped event handlers on DOM elements (ex: `onclick` which should be `onClick`)