1 You will get one of these: Uncaught (in promise) TypeError: Cannot read property 'toUpperCase' of undefined(…) ReactCompositeComponent.js:870 Uncaught TypeError: Cannot read property 'displayName' of undefined if you try to: