mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
13 lines
429 B
JavaScript
13 lines
429 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;
|