Complete React 19 migration and add dual React 18/19 package compatibility validation#77
Open
Complete React 19 migration and add dual React 18/19 package compatibility validation#77
Conversation
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.
This PR moves the repo’s development workspace to React 19 while preserving published React 18 support for @trrack/vis-react.
It upgrades the example apps and docs app to React 19, including moving the docs site onto a React-19-capable Next/Nextra stack. It also removes remaining React-18-only blockers in the example apps, including replacing react-hyper-tree with a local history tree component and removing Mantine from the dummy testing app in favor of local UI and sizing logic.
For the published packages, @trrack/vis-react keeps its peer range at react / react-dom >=18 <20, and package compatibility is now validated against both React 18 and React 19. This PR adds a dedicated CI workflow plus package-only scripts to typecheck, build, and test @trrack/core and @trrack/vis-react under both React majors. It also updates the package/docs messaging to state the tested support policy clearly.