function elemFactory(type) {
    const ret = function(...args) {
        return elem(type, normalizeArgs(args));
    };
    ret.isElemFactory = true;
    return ret;
}
/**
 * Returns a factory function that can create a ReactElement using native JS (i.e. not JSX).
 * This is a 'curried' version of the raw elem() method.
 *
 * One critical enhancement provided by this factory is that its arguments may be *either* a single
 * config for elem() or either an array or rest arguments representing just the the children to be
 * passed to the new Element. This latter case is fully equivalent to specifying `{items: [...]}`
 * and is useful when no attributes need to be applied directly to the Element.

 * @param {(Object|string)} type - class extending Component or string representing an HTML element
 *      for which this factory will create Elements.
 * @return {function}
 */
Returns a factory function that can create a ReactElement using native JS .
This is a 'curried' version of the raw elem() method.

One critical enhancement provided by this factory is that its arguments may be *either* a single
config for elem() or either an array or rest arguments representing just the the children to be
passed to the new Element. This latter case is fully equivalent to specifying `{items: [...]}`
and is useful when no attributes need to be applied directly to the Element.

@param {(Object|string)} type - class extending Component or string representing an HTML element
for which this factory will create Elements.
@return {function}
Returns a factory function that can create a ReactElement using native JS . This is a ' curried ' version of the raw elem () method . One critical enhancement provided by this factory is that its arguments may be * either * a single config for elem () or either an array or rest arguments representing just the the children to be passed to the new Element . This latter case is fully equivalent to specifying ` { items : [ ... ] } ` and is useful when no attributes need to be applied directly to the Element . @param { ( Object|string ) } type - class extending Component or string representing an HTML element for which this factory will create Elements . @return { function }
function elemFactory(type) {
    const ret = function(...args) {
        return elem(type, normalizeArgs(args));
    };
    ret.isElemFactory = true;
    return ret;
}
function elemFactory ( type ) { const ret = function ( ... args ) { return elem ( type , normalizeArgs ( args ) ) ; } ; ret . isElemFactory = true ; return ret ; }
Returns a factory function that can create a ReactElement using native JS (i.e.
Returns a factory function that can create a ReactElement using native JS ( i . e .