Repo housekeeping + support for React 18/19 #34
Merged
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.
Nearly all of this was done by Claude Code, save for the actual change that we needed to make for proper React 18/19 support (the use of
flushSync). I've wanted to update the repo to a more modern toolchain for a while, but was avoiding it while we were still occasionally pulling upstream fixes. But now that the official repo is archived, we can go wild 🥳The two risks here are (1) the tests are no longer testing the right thing, and (2) there's an issue with the new build process that's breaking something. We'll check these empirically by checking the new package against our large suite of text editor UI tests we have in our private repo, and with manual smoke testing.
file: