UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

20 lines (18 loc) 582 B
"use strict"; exports.__esModule = true; exports._setCreateFactory = _setCreateFactory; exports.createFactory = createFactory; var _react = require("react"); var _createFactory = function (Component) { // eslint-disable-next-line react/function-component-definition, react/display-name return function (props) { return (0, _react.createElement)(Component, props); }; }; // undocumented binding for NT perf hack function _setCreateFactory(newCreateFactory) { _createFactory = newCreateFactory; } function createFactory(Component) { return _createFactory(Component); }