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 — typos fixed (#21955) · react/react@8a37b0e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • eslint-plugin-react-hooks/src
      • ExhaustiveDeps.js
    • react-devtools-extensions/src
      • astUtils.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js‎

Copy file name to clipboardExpand all lines: packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ export default {
753753
if (
754754
isUsedOutsideOfHook &&
755755
construction.type === 'Variable' &&
756-
// Objects may be mutated ater construction, which would make this
756+
// Objects may be mutated after construction, which would make this
757757
// fix unsafe. Functions _probably_ won't be mutated, so we'll
758758
// allow this fix for them.
759759
depType === 'function'
Collapse file

‎packages/react-devtools-extensions/src/astUtils.js‎

Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/src/astUtils.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function checkNodeLocation(
4141
}
4242

4343
if (column !== null) {
44-
// Column numbers are representated differently between tools/engines.
44+
// Column numbers are represented differently between tools/engines.
4545
// Error.prototype.stack columns are 1-based (like most IDEs) but ASTs are 0-based.
4646
//
4747
// In practice this will probably never matter,
@@ -359,7 +359,7 @@ function isPotentialHookDeclaration(path: NodePath): boolean {
359359
return false;
360360
}
361361

362-
/// Check whether 'node' is hook decalration of form useState(0); OR React.useState(0);
362+
/// Check whether 'node' is hook declaration of form useState(0); OR React.useState(0);
363363
function isReactFunction(node: Node, functionName: string): boolean {
364364
return (
365365
node.name === functionName ||

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.