| 5410 | }; |
| 5411 | |
| 5412 | function warnIfInvalidElement(Component, element) { |
| 5413 | if ("development" !== 'production') { |
| 5414 | "development" !== 'production' ? warning(element === null || element === false || ReactElement.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0; |
| 5415 | } |
| 5416 | } |
| 5417 | |
| 5418 | /** |
| 5419 | * ------------------ The Life-Cycle of a Composite Component ------------------ |