* Create a factory that creates HTML tag elements. * * @param {string} tag Tag name (e.g. `div`). * @private
(tag)
| 7625 | * @private |
| 7626 | */ |
| 7627 | function createDOMFactory(tag) { |
| 7628 | if ("development" !== 'production') { |
| 7629 | return ReactElementValidator.createFactory(tag); |
| 7630 | } |
| 7631 | return ReactElement.createFactory(tag); |
| 7632 | } |
| 7633 | |
| 7634 | /** |
| 7635 | * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…