mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
* Create our own createHelper, its not in recompose anymore * Use our withStateSelector * Proper apiKey usage * Replace apiKey with bootstrapUrlKeys * No need of true value in html * Use lodash.omit instead in dev * Remove unused file * Remove unnecessary extra folder utils * Upgrade recompose again * Oops! Move lodash.omit to devDependencies * Fix webpack files styles * Make examples bigger in width
14 lines
427 B
JavaScript
14 lines
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;
|