Conversation
ravicious
left a comment
There was a problem hiding this comment.
Wow, what a herculean effort.
I'll take a look on Monday, now I just submitted some quick improvements which should also help with any testing.
There was a problem hiding this comment.
First thing that caught my attention was some dupes of babel packages because of Yarn's innacurate dedupe algorithm.
I ran npx yarn-deduplicate yarn.lock --scopes @babel and made a bunch of other small changes on my branch if you'd like to include them (#35249).
Many of those operations require running yarn again for some weird reason, I suspect yarn just has some bugs which make it fundamentally unable to be idempotent when using workspaces. 🙄
There was a problem hiding this comment.
yarn install reports that packages like react-select now have an incorrect peer dependency, did you have a chance to check if those work correctly with React v18?
|
TODO list for myself:
|
ravicious
left a comment
There was a problem hiding this comment.
Made it to web/packages/teleport/src/Discover/Database/EnrollRdsDatabase/EnrollRdsDatabase.test.tsx, will continue tomorrow.
|
It looks like some changes weren't committed to |
Co-authored-by: Grzegorz Zdunek <gzdunek@users.noreply.github.com>
Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
738b1bc to
41b4873
Compare
There was a problem hiding this comment.
Do we keep this on master only? Ofc backporting would make any future work easier, but idk how much work a backport would take. With v15 just around the corner we might be able to get away with not backporting if we wish to.
There was a problem hiding this comment.
Yeah I think it's best to keep it on just master, also means React 18 will go through the test plan before reaching customers
|
eslint-plugin-jest-dom update (#35926) should get backported too if we backport this PR. |
This upgrades React to v18.2.0.
Most of this was type updates (adding
PropsWithChildreneverywhere) and the removal of@testing-library/react-hooksas it doesn't support React 18 (and@testing-library/reacthasrenderHookanyway)Breaking changes in v17 and v18:
Closes #21098