Jan Kassens

Results 31 issues of 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.

CLA Signed
React Core Team

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...

CLA Signed
React Core Team

Disables legacy context for the next major release. These have been deprecated for a long time now and have been warning.

CLA Signed
React Core Team

These APIs have been deprecated with a warning since React 17. This disables them behind a feature flag for a major release.

CLA Signed
React Core Team

`React.createFactory` has been long deprecated. This removes it for the next release.

CLA Signed
React Core Team
React 19

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.

CLA Signed
React Core Team

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...

CLA Signed
React Core Team

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...

CLA Signed
React Core Team

Move useMemoCache hook to react/compiler-runtime For Meta-internal purposes, we keep the export on `react` itself to reduce churn.

CLA Signed
React Core Team