MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / emitChange

Function emitChange

wip/ReactUpdates-wip.js:1104–1106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1102 it('does not update one component twice in a batch (#6371)', () => {
1103 var callbacks = [];
1104 function emitChange() {
1105 callbacks.forEach(c => c());
1106 }
1107
1108 class App extends React.Component {
1109 constructor(props) {

Callers 1

componentWillUnmountMethod · 0.85

Calls 1

cFunction · 0.85

Tested by

no test coverage detected