mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
e0a3dc5c61d996feff476ffb3818a7fe88c50f55
Per title, disallow ref access in `useState()` initializer function,
`useReducer()` reducer, and `useReducer()` init function.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34025).
* #34027
* #34026
* __->__ #34025
DiffTrain build for [c2326b1336](https://github.com/facebook/react/commit/c2326b1336e38a52899fad6c2ddbb71ea7ddd3ee)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%