question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

got warnings while upgraded to react v15.0 rc

See original GitHub issue

react 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: adivtag (owner:Saturation) was passed a numeric string value for CSS propertybottom(value:0) which will be treated as a unitless number in a future version of React.

Warning: adivtag (owner:Alpha) was passed a numeric string value for CSS propertyright(value:0) which will be treated as a unitless number in a future version of React.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:16
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
islemastercommented, May 10, 2016

Timing update: Code.org is likely to ship with our React 15 changes today. I’ll open the PR with our changes this evening.

3reactions
casesandbergcommented, May 7, 2016

Sorry all, this has been fixed in 2.1.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found