[docs] Clarify when `getInitialState` is called.
Clear error message when rendering a nonvalid component
Merge pull request #465 from matnel/bug388

Clear error message when rendering a nonvalid component