Created by: gaearon
This adjusts warning logic to my latest changes in https://github.com/facebook/react/pull/9679#issuecomment-301275629.
Created by: gaearon
This adjusts warning logic to my latest changes in https://github.com/facebook/react/pull/9679#issuecomment-301275629.