Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
21 lines
709 B
JavaScript
21 lines
709 B
JavaScript
// Module ID: 1561
|
|
// Function ID: 1562
|
|
// Dependencies: [19, 1514, 1562]
|
|
// Exports: useScheduleUpdate
|
|
|
|
// Module 1561
|
|
import NavigationBuilderContext from "NavigationBuilderContext" /* 1514 */;
|
|
import _mod1562 from "module_1562" /* 1562 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = arg1;
|
|
|
|
export const useScheduleUpdate = function useScheduleUpdate(arg0) {
|
|
closure_0 = arg0;
|
|
const context = noop.useContext(NavigationBuilderContext.NavigationBuilderContext);
|
|
({ scheduleUpdate: dependencyMap, flushUpdates } = context);
|
|
const insertionEffect = noop.useInsertionEffect(() => {
|
|
dependencyMap(closure_0);
|
|
});
|
|
const clientLayoutEffect = _mod1562.useClientLayoutEffect(flushUpdates);
|
|
};
|