mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
14 lines
433 B
JavaScript
14 lines
433 B
JavaScript
import createEagerElementUtil from './utils/createEagerElementUtil';
|
|
import isReferentiallyTransparentFunctionComponent
|
|
from './isReferentiallyTransparentFunctionComponent';
|
|
|
|
const createFactory = type => {
|
|
const isReferentiallyTransparent = isReferentiallyTransparentFunctionComponent(
|
|
type
|
|
);
|
|
return (p, c) =>
|
|
createEagerElementUtil(false, isReferentiallyTransparent, type, p, c);
|
|
};
|
|
|
|
export default createFactory;
|