GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove noinline directives from new commit phase (#20241) · react/react@1b96ee4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-reconciler/src
    • ReactFiberCommitWork.new.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/ReactFiberCommitWork.new.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCommitWork.new.js
-13Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ function safelyCallComponentWillUnmount(current, instance) {
209209
}
210210
}
211211

212-
/** @noinline */
213212
function safelyDetachRef(current: Fiber) {
214213
const ref = current.ref;
215214
if (ref !== null) {
@@ -273,7 +272,6 @@ export function safelyCallDestroy(current: Fiber, destroy: () => void) {
273272
}
274273
}
275274

276-
/** @noinline */
277275
function commitHookEffectListUnmount(flags: HookFlags, finishedWork: Fiber) {
278276
const updateQueue: FunctionComponentUpdateQueue | null = (finishedWork.updateQueue: any);
279277
const lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
@@ -294,7 +292,6 @@ function commitHookEffectListUnmount(flags: HookFlags, finishedWork: Fiber) {
294292
}
295293
}
296294

297-
/** @noinline */
298295
function commitHookEffectListMount(flags: HookFlags, finishedWork: Fiber) {
299296
const updateQueue: FunctionComponentUpdateQueue | null = (finishedWork.updateQueue: any);
300297
const lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
@@ -506,7 +503,6 @@ function iterativelyCommitBeforeMutationEffects_complete() {
506503
}
507504
}
508505

509-
/** @noinline */
510506
function commitBeforeMutationEffectsOnFiber(finishedWork: Fiber) {
511507
const current = finishedWork.alternate;
512508
const flags = finishedWork.flags;
@@ -621,7 +617,6 @@ function commitBeforeMutationEffectsOnFiber(finishedWork: Fiber) {
621617
}
622618
}
623619

624-
/** @noinline */
625620
function commitBeforeMutationEffectsDeletions(deletions: Array<Fiber>) {
626621
for (let i = 0; i < deletions.length; i++) {
627622
const fiber = deletions[i];
@@ -763,7 +758,6 @@ function iterativelyCommitMutationEffects_complete(
763758
}
764759
}
765760

766-
/** @noinline */
767761
function commitMutationEffectsOnFiber(
768762
fiber: Fiber,
769763
root: FiberRoot,
@@ -834,7 +828,6 @@ function commitMutationEffectsOnFiber(
834828
}
835829
}
836830

837-
/** @noinline */
838831
function commitMutationEffectsDeletions(
839832
deletions: Array<Fiber>,
840833
root: FiberRoot,
@@ -1320,7 +1313,6 @@ function commitLayoutEffectsOnFiber(
13201313
}
13211314
}
13221315

1323-
/** @noinline */
13241316
function commitLayoutEffectsForProfiler(
13251317
finishedWork: Fiber,
13261318
finishedRoot: FiberRoot,
@@ -1393,7 +1385,6 @@ function commitLayoutEffectsForProfiler(
13931385
}
13941386
}
13951387

1396-
/** @noinline */
13971388
function commitLayoutEffectsForClassComponent(finishedWork: Fiber) {
13981389
const instance = finishedWork.stateNode;
13991390
const current = finishedWork.alternate;
@@ -1542,7 +1533,6 @@ function commitLayoutEffectsForClassComponent(finishedWork: Fiber) {
15421533
}
15431534
}
15441535

1545-
/** @noinline */
15461536
function commitLayoutEffectsForHostRoot(finishedWork: Fiber) {
15471537
// TODO: I think this is now always non-null by the time it reaches the
15481538
// commit phase. Consider removing the type check.
@@ -1563,7 +1553,6 @@ function commitLayoutEffectsForHostRoot(finishedWork: Fiber) {
15631553
}
15641554
}
15651555

1566-
/** @noinline */
15671556
function commitLayoutEffectsForHostComponent(finishedWork: Fiber) {
15681557
const instance: Instance = finishedWork.stateNode;
15691558
const current = finishedWork.alternate;
@@ -1579,7 +1568,6 @@ function commitLayoutEffectsForHostComponent(finishedWork: Fiber) {
15791568
}
15801569
}
15811570

1582-
/** @noinline */
15831571
function hideOrUnhideAllChildren(finishedWork, isHidden) {
15841572
if (supportsMutation) {
15851573
// We only have the top Fiber that was inserted but we need to recurse down its
@@ -2866,7 +2854,6 @@ function commitSuspenseComponent(finishedWork: Fiber) {
28662854
}
28672855
}
28682856

2869-
/** @noinline */
28702857
function commitSuspenseHydrationCallbacks(
28712858
finishedRoot: FiberRoot,
28722859
finishedWork: Fiber,

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.