Skip to content

Commit c0993bf

Browse files
committed
Fix style= formatting in v15 rc blog post
(cherry picked from commit 8c57fd9)
1 parent 1995378 commit c0993bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_posts/2016-03-07-react-v15-rc1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Each of these changes will continue to work as before with a new warning until t
7979
### New helpful warnings
8080

8181
- If you use a minified copy of the _development_ build, React DOM kindly encourages you to use the faster production build instead.
82-
- 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.)
82+
- 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.)
8383
- 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.
8484
- Elements will now warn when attempting to read `ref` and `key` from the props.
8585
- React DOM now attempts to warn for mistyped event handlers on DOM elements (ex: `onclick` which should be `onClick`)

0 commit comments

Comments
 (0)