mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
8d80d81894fc9725f82d30c23b7a79654d4ff177
Small refactor to the `resource` type to narrow it to an arbitrary
object or void/null instead of the top type. This makes the overload on
useEffect simpler since the return type of create is no longer widened
to the top type when we merge their definitions.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32203).
* #32206
* #32205
* #32204
* __->__ #32203
DiffTrain build for [899e3d1297](https://github.com/facebook/react/commit/899e3d1297ec15a5aa8d73e2f1bd478918090a12)
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%