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 unused argument (#19600) · react/react@ccb6c39

File tree

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

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

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.new.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ function handleError(root, thrownValue): void {
14701470
} while (true);
14711471
}
14721472

1473-
function pushDispatcher(root) {
1473+
function pushDispatcher() {
14741474
const prevDispatcher = ReactCurrentDispatcher.current;
14751475
ReactCurrentDispatcher.current = ContextOnlyDispatcher;
14761476
if (prevDispatcher === null) {
@@ -1586,7 +1586,7 @@ export function renderHasNotSuspendedYet(): boolean {
15861586
function renderRootSync(root: FiberRoot, lanes: Lanes) {
15871587
const prevExecutionContext = executionContext;
15881588
executionContext |= RenderContext;
1589-
const prevDispatcher = pushDispatcher(root);
1589+
const prevDispatcher = pushDispatcher();
15901590

15911591
// If the root or lanes have changed, throw out the existing stack
15921592
// and prepare a fresh one. Otherwise we'll continue where we left off.
@@ -1661,7 +1661,7 @@ function workLoopSync() {
16611661
function renderRootConcurrent(root: FiberRoot, lanes: Lanes) {
16621662
const prevExecutionContext = executionContext;
16631663
executionContext |= RenderContext;
1664-
const prevDispatcher = pushDispatcher(root);
1664+
const prevDispatcher = pushDispatcher();
16651665

16661666
// If the root or lanes have changed, throw out the existing stack
16671667
// and prepare a fresh one. Otherwise we'll continue where we left off.
Collapse file

‎packages/react-reconciler/src/ReactFiberWorkLoop.old.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.old.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ function handleError(root, thrownValue): void {
14541454
} while (true);
14551455
}
14561456

1457-
function pushDispatcher(root) {
1457+
function pushDispatcher() {
14581458
const prevDispatcher = ReactCurrentDispatcher.current;
14591459
ReactCurrentDispatcher.current = ContextOnlyDispatcher;
14601460
if (prevDispatcher === null) {
@@ -1570,7 +1570,7 @@ export function renderHasNotSuspendedYet(): boolean {
15701570
function renderRootSync(root: FiberRoot, lanes: Lanes) {
15711571
const prevExecutionContext = executionContext;
15721572
executionContext |= RenderContext;
1573-
const prevDispatcher = pushDispatcher(root);
1573+
const prevDispatcher = pushDispatcher();
15741574

15751575
// If the root or lanes have changed, throw out the existing stack
15761576
// and prepare a fresh one. Otherwise we'll continue where we left off.
@@ -1645,7 +1645,7 @@ function workLoopSync() {
16451645
function renderRootConcurrent(root: FiberRoot, lanes: Lanes) {
16461646
const prevExecutionContext = executionContext;
16471647
executionContext |= RenderContext;
1648-
const prevDispatcher = pushDispatcher(root);
1648+
const prevDispatcher = pushDispatcher();
16491649

16501650
// If the root or lanes have changed, throw out the existing stack
16511651
// and prepare a fresh one. Otherwise we'll continue where we left off.

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.