MCPcopy Index your code
hub / github.com/danielstocks/react-sortable / ef

Function ef

bundle.js:4120–4148  ·  view source on GitHub ↗
(a, b, c, d)

Source from the content-addressed store, hash-verified

4118 cf = R.hasContextChanged,
4119 df = bb.isMounted;
4120function ef(a, b, c, d) {
4121 function e(a, b) {
4122 b.updater = f;a.stateNode = b;Pa.set(b, a);
4123 }var f = { isMounted: df, enqueueSetState: function enqueueSetState(c, d, e) {
4124 c = Pa.get(c);var f = b(c, !1);Ze(c, d, void 0 === e ? null : e, f);a(c, f);
4125 }, enqueueReplaceState: function enqueueReplaceState(c, d, e) {
4126 c = Pa.get(c);var f = b(c, !1);$e(c, d, void 0 === e ? null : e, f);a(c, f);
4127 }, enqueueForceUpdate: function enqueueForceUpdate(c, d) {
4128 c = Pa.get(c);var e = b(c, !1);af(c, void 0 === d ? null : d, e);a(c, e);
4129 } };return { adoptClassInstance: e, constructClassInstance: function constructClassInstance(a, b) {
4130 var c = a.type,
4131 d = Xe(a),
4132 f = Ye(a),
4133 g = f ? We(a, d) : da;b = new c(b, g);
4134 e(a, b);f && Ve(a, d, g);return b;
4135 }, mountClassInstance: function mountClassInstance(a, b) {
4136 var c = a.alternate,
4137 d = a.stateNode,
4138 e = d.state || null,
4139 g = a.pendingProps;g ? void 0 : w("158");var h = Xe(a);d.props = g;d.state = e;d.refs = da;d.context = We(a, h);ed.enableAsyncSubtreeAPI && null != a.type && null != a.type.prototype && !0 === a.type.prototype.unstable_isAsyncReactComponent && (a.internalContextTag |= Ue);"function" === typeof d.componentWillMount && (h = d.state, d.componentWillMount(), h !== d.state && f.enqueueReplaceState(d, d.state, null), h = a.updateQueue, null !== h && (d.state = bf(c, a, h, d, e, g, b)));"function" === typeof d.componentDidMount && (a.effectTag |= Te);
4140 }, updateClassInstance: function updateClassInstance(a, b, e) {
4141 var g = b.stateNode;g.props = b.memoizedProps;g.state = b.memoizedState;var h = b.memoizedProps,
4142 k = b.pendingProps;k || (k = h, null == k ? w("159") : void 0);var D = g.context,
4143 y = Xe(b);y = We(b, y);"function" !== typeof g.componentWillReceiveProps || h === k && D === y || (D = g.state, g.componentWillReceiveProps(k, y), g.state !== D && f.enqueueReplaceState(g, g.state, null));D = b.memoizedState;e = null !== b.updateQueue ? bf(a, b, b.updateQueue, g, D, k, e) : D;if (!(h !== k || D !== e || cf() || null !== b.updateQueue && b.updateQueue.hasForceUpdate)) return "function" !== typeof g.componentDidUpdate || h === a.memoizedProps && D === a.memoizedState || (b.effectTag |= Te), !1;var B = k;if (null === h || null !== b.updateQueue && b.updateQueue.hasForceUpdate) B = !0;else {
4144 var H = b.stateNode,
4145 C = b.type;B = "function" === typeof H.shouldComponentUpdate ? H.shouldComponentUpdate(B, e, y) : C.prototype && C.prototype.isPureReactComponent ? !ea(h, B) || !ea(D, e) : !0;
4146 }B ? ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(k, e, y), "function" === typeof g.componentDidUpdate && (b.effectTag |= Te)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && D === a.memoizedState || (b.effectTag |= Te), c(b, k), d(b, e));g.props = k;g.state = e;g.context = y;return B;
4147 } };
4148}
4149var ff = Se.mountChildFibersInPlace,
4150 gf = Se.reconcileChildFibers,
4151 hf = Se.reconcileChildFibersInPlace,

Callers 1

LfFunction · 0.85

Calls 6

bFunction · 0.85
aFunction · 0.85
wFunction · 0.85
cFunction · 0.85
dFunction · 0.85
eFunction · 0.70

Tested by

no test coverage detected