Support react v0.4 and react/promise v2

No BC break, compatiblity with older version preserved.