cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.69k stars 3.16k forks source link

Support React 19 in Component Testing #29470

Open jennifer-shehane opened 4 months ago

jennifer-shehane commented 4 months ago

What would you like?

React 19 Beta is out: https://react.dev/blog/2024/04/25/react-19-upgrade-guide

Why is this needed?

No response

Other

No response

AtofStryker commented 3 months ago

support spike for react 19 is done and implemented here. Once React 19 releases, we can revisit this and get the feature shipped out to support react 19 CT fairly quickly.

boylec commented 1 week ago

AFAIK React 19 is in RC status.

Any ideas about when this support within cypress is going to be released?

AtofStryker commented 1 week ago

AFAIK React 19 is in RC status.

Any ideas about when this support within cypress is going to be released?

@boylec We are waiting for Raact to release version 19 as generally available. Most of the implementation work for this is done on our end, so the turnaround should be short.

boylec commented 1 week ago

@AtofStryker thanks for the heads up.

We are relying on some juicy features in the Next.JS 15 RC (and hence React 19 RC by indirect dependency) in production.

Any chance you guys might consider providing a path for us bleeding edge fanatics to be able to use cypress for component testing against these versions considering the work is mostly done as you mentioned?