Support but warn on key={null}

Fixes #2386.

Test Plan: jest

Reviewers: @sebmarkbage
Add a `console.warn` mock and assert that it's being called. We could fail on all warnings (we do internally).