Jan Kassens
Jan Kassens
I noticed this was an experiment concluded 16 months ago (#21679) that this extra work is beneficial to break up cycles leaking memory in product code.
Replaces the function constructor call with a factory method. This makes this covered by Flow. I think if an object is created from a literal in one place it should...
Disables legacy context for the next major release. These have been deprecated for a long time now and have been warning.
These APIs have been deprecated with a warning since React 17. This disables them behind a feature flag for a major release.
`React.createFactory` has been long deprecated. This removes it for the next release.
Subscriptions that are torn down in `componentDidUnmount` need to be re-established in `componentDidMount` as both functions can be called multiple times in concurrent mode. I was not sure how critical...
Once D54648741 lands internally, we no longer need this shim. NOTE: There is still some work left to remove the `unstable_renderSubtreeIntoContainer` export.
Persistent renderers used the `Update` effect flag to check if a subtree needs to be cloned. In some cases, that causes extra renders, such as when a layout effect is...
Add hermes-transform infra This adds `hermes-transform` as a dependency for scripts to allow us to run some codemods updating tests. If this turns out useful, there's obviously more that can...
Move useMemoCache hook to react/compiler-runtime For Meta-internal purposes, we keep the export on `react` itself to reduce churn.