support react 0.11