got warnings while upgraded to react v15.0 rc
See original GitHub issuereact added a helpful warning in v15.0 rc-1:
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.)
warnings like these:
Warning: a
divtag (owner:
Saturation) was passed a numeric string value for CSS property
bottom(value:
0) which will be treated as a unitless number in a future version of React.
Warning: a
divtag (owner:
Alpha) was passed a numeric string value for CSS property
right(value:
0) which will be treated as a unitless number in a future version of React.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:16
- Comments:14 (9 by maintainers)
Top Results From Across the Web
React v15.0 Release Candidate
If your code is free of warnings when running under React 0.14, upgrading should be easy. The bulk of changes in this release...
Read more >Upgrading to React v15.2.0 causes my development build to ...
My application crashes IE9 when I upgrade to React v15.2.0! It works fine with v15.1.0 and all earlier versions. ... package.json - "react-addons- ......
Read more >How do I resolve peer dependency error: The package react ...
it worked when i updated npm "npm install npm -g" and then downgraded react to; "react": "15.3.0" , cleared cache: npm cache clear...
Read more >Blog - React
If your code is free of warnings when running under React 0.14, upgrading should be easy. The bulk of changes in this release...
Read more >Upgrading Guide - Keycloak
Upgrading the Keycloak Admin Client; Migration Changes. Migrating to 20.0.0. RESTEasy Version Update; H2 Version Update; Breaking changes in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Timing update: Code.org is likely to ship with our React 15 changes today. I’ll open the PR with our changes this evening.
Sorry all, this has been fixed in
2.1.0