SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[lint] treat React.use() the same as use() (#27769)

We should probably treat `React.use()` the same as `use()` to allow it
within loops and conditionals.

Ideally this would implement a test that `React` is imported or required
from `'react'`, but we don't otherwise implement such a test.
J
Jan Kassens committed
640ccebb7d9669f1efbd20e86f6f84086c3d698d
Parent: d7b45ec
Committed by GitHub <[email protected]> on 12/1/2023, 8:02:11 PM