Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSetup CI infra to run DevTools tests against multiple React versions #19371
Comments
|
I would like to take this as my first issue , please guide me from where I can start |
|
@RitikPandey1 You are welcome to work on this issue if you would be interested! Unfortunately, it would have to be self-guided work. I don't have any more of an outline for what needs to be done than what is written in the issue. |
|
Okay, @bvaughn I will try to figure this out . |
|
@bvaughn, not sure if this is easily done with checking out older code. Another issue is, that older checkouts have too restrictive devEngines requirements to be installed with modern node, see this. |
|
Also tried it by just installing the old dependencies via npm, with similar results. Maybe some of the tests are testing internals, and hence are coupled to internals of the latest code? |
|
The This task is about using the DevTools to connect to applications written with multiple (usually older) versions of React. Replacing the The precedent here would be our "legacy" tests: These tests using NPM aliasing to run an older version of React with DevTools (which is still built with the latest experimental build): |
|
Thanks for the elaboration, I will check it out! |


PR #19108 caused some Suspense-related DevTools regressions (more info available on #19368) which we did not catch because of the fact that DevTools tests are only run against the version of React in master.
We should follow the precedent of the regression fixtures tests and have CI run DevTools tests against multiple React versions, including v15, all v16 minors, and the current HEAD of master branch.
Setting this up will involve several things:
Suspensein a version of React that didn't include that component yet).