MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / initialize

Function initialize

code/higher-order-components/public/app.js:2783–2787  ·  view source on GitHub ↗
(nativeEventTarget)

Source from the content-addressed store, hash-verified

2781};
2782
2783function initialize(nativeEventTarget) {
2784 compositionState._root = nativeEventTarget;
2785 compositionState._startText = getText();
2786 return true;
2787}
2788
2789function reset() {
2790 compositionState._root = null;

Callers 1

extractCompositionEventFunction · 0.70

Calls 1

getTextFunction · 0.70

Tested by

no test coverage detected