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 — apply prettier (#21165) · react/react@94fd121

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/eslint-plugin-react-hooks/src
    • ExhaustiveDeps.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-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,7 @@ export default {
255255
}
256256
}
257257
} else if (name === 'useTransition') {
258-
if (
259-
id.type === 'ArrayPattern' &&
260-
isArray(resolved.identifiers)
261-
) {
258+
if (id.type === 'ArrayPattern' && isArray(resolved.identifiers)) {
262259
// Is first tuple value the same reference we're checking?
263260
if (id.elements[0] === resolved.identifiers[0]) {
264261
// Setter is stable.

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.