google-map-react
Version:
isomorphic google map react component, allows render react components on the google map
14 lines (11 loc) • 427 B
JavaScript
import createEagerElementUtil from './createEagerElementUtil';
import isReferentiallyTransparentFunctionComponent
from './isReferentiallyTransparentFunctionComponent';
const createFactory = type => {
const isReferentiallyTransparent = isReferentiallyTransparentFunctionComponent(
type
);
return (p, c) =>
createEagerElementUtil(false, isReferentiallyTransparent, type, p, c);
};
export default createFactory;