mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
11f55031dd3f018db15813d2df9e27d5347b204e
Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render. ghstack-source-id:5d044ef787Pull Request resolved: https://github.com/facebook/react/pull/29653 DiffTrain build for [c69211a9df](https://github.com/facebook/react/commit/c69211a9dfa683038b1a758aba2ca09c7862a6d3)
Please do not delete this branch
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%