facebook/react — pull request #725 by cpojer (2013-12-27 13:19:45+00:00)
Title: Add invariant to check getInitialState return value. Fixes #397

This adds an invariant that checks if getInitialState returns an object. Let me know if I should change the error message to something different.