Upgrade to react 0.12.0 and removed deprecation warnings