facebook/react — pull request #2552 by sebmarkbage (2014-11-18 05:23:26+00:00)
Title: Remove some unnecessary code in ReactComponents

This is just a little extra careful checks to help debugging. We'll ensure that it won't happen. Eventually, we'll switch to static types to catch this.

For now, these are in my way and distract me while grepping.

Also deleted some dead code in the shallow testing.