(type, config, maybeKey, isStaticChildren)
| 405 | * @param {string} key |
| 406 | */ |
| 407 | export function jsxDEV(type, config, maybeKey, isStaticChildren) { |
| 408 | const trackActualOwner = |
| 409 | __DEV__ && |
| 410 | ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit; |
| 411 | return jsxDEVImpl( |
| 412 | type, |
| 413 | config, |
| 414 | maybeKey, |
| 415 | isStaticChildren, |
| 416 | __DEV__ && |
| 417 | (trackActualOwner |
| 418 | ? Error('react-stack-top-frame') |
| 419 | : unknownOwnerDebugStack), |
| 420 | __DEV__ && |
| 421 | (trackActualOwner |
| 422 | ? createTask(getTaskName(type)) |
| 423 | : unknownOwnerDebugTask), |
| 424 | ); |
| 425 | } |
| 426 | |
| 427 | function jsxDEVImpl( |
| 428 | type, |
nothing calls this directly
no test coverage detected