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.