Skip to content

Commit cddfe3c

Browse files
disable eslint
1 parent 22a3484 commit cddfe3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-router/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as React from 'react'
44
// React 18 with Webpack, which statically analyzes imports and fails when it
55
// sees React.use referenced (since 'use' is not exported from React 18).
66
// This uses a dynamic string lookup to avoid the static analysis.
7+
// eslint-disable-next-line prefer-const -- Must be `let` to prevent bundler constant-folding
78
let REACT_USE = 'use'
89

910
/**

0 commit comments

Comments
 (0)