feat: update react to 19#689
Open
stenin-nikita wants to merge 10 commits into
Open
Conversation
stenin-nikita
requested review from
martyanovandrey and
reazy015
and removed request for
a team
July 13, 2026 12:14
stenin-nikita
force-pushed
the
nikita-stenin.DOCSTOOLS-6222.update-react
branch
2 times, most recently
from
July 13, 2026 12:22
c8a78c6 to
01d7b70
Compare
Contributor
|
Storybook preview is ready. |
Contributor
|
Visual Tests Report is ready. |
stenin-nikita
force-pushed
the
nikita-stenin.DOCSTOOLS-6222.update-react
branch
from
July 13, 2026 13:39
01d7b70 to
0226f9d
Compare
Contributor
Author
|
/update-screenshots |
Contributor
|
✅ Screenshots have been updated successfully! |
stenin-nikita
force-pushed
the
nikita-stenin.DOCSTOOLS-6222.update-react
branch
3 times, most recently
from
July 14, 2026 12:13
d2d2fc5 to
eae9dd4
Compare
Contributor
Author
|
/update-screenshots |
Contributor
|
✅ Screenshots have been updated successfully! |
stenin-nikita
force-pushed
the
nikita-stenin.DOCSTOOLS-6222.update-react
branch
2 times, most recently
from
July 16, 2026 14:28
24e2757 to
d4bf073
Compare
stenin-nikita
force-pushed
the
nikita-stenin.DOCSTOOLS-6222.update-react
branch
from
July 16, 2026 14:55
d4bf073 to
0a3854b
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



React 19 upgrade
The main goal of this PR is the React 19 migration. Everything else is either required by the upgrade itself or bundled in to avoid spinning up separate PRs.
What's included
OutsideClick,MiniToc,Feedback,useTimer,useVirtualElementRef,SubscribePopup, etc.).react-popper— the package doesn't support React 19 and wasn't actually used in the code. The unusedusePopperhook was removed as well; its exported constants were moved intosrc/constants.ts.react-compose— incompatible with React 19. Replaced with a small local compose function insrc/utils/index.ts(~20 lines)."jsx": "react-jsx"in tsconfig. This produces a wide but shallow diff: redundantimport React from 'react'statements were removed everywhere they're no longer needed.demo/.storybook/to the root.storybook/.demo/src/Components/todemo/Components/.demo/package.jsonanddemo/package-lock.jsonwere removed (−22,500 lines — that's the deleted lockfile, not real code).tsconfig.base.json,tsconfig.lib.json,tsconfig.storybook.json, andtsconfig.test.json— a single shared config no longer covers all build targets..eslintrc.jsfiles insrc/andplaywright/, plus updated paths in GitHub Actions.DocPage*andSearchSuggest*stories had a lot of duplicated code. Extracted intodemo/Components/shared/(hooks, service-link, story-config, use-page-props). No production code touched.Why the diff is so large
Out of ~28,000 changed lines, ~26,000 are noise:
package-lock.json,demo/package-lock.json(~22.5k lines),Actual production changes in src/ are small and targeted.
Suggested review order
Read these commits in order — the rest can be skimmed: