updated to react v.0.12