The official documentation site for React recommends multiple times that ajax and subsequent setState calls should be done in componentDidMount. I can find no other reliable source that suggests this is a bad practice. Although I understand the rationale for making the ajax call earlier in the lifecycle (e.g., using componentWillMount), I'm curious why the official React site recommends using componentDidMount. Are there potential issues with using componentWillMount instead of componentDidMount?
References facebook.github.io/react/docs/component-specs.html, facebook.github.io/react/docs/tutorial.html, and facebook.github.io/react/tips/initial-ajax.html).