This feature release updates the React peer dependency to work with React 19, and improves treeshakeability of our build artifacts.
Changelog
React 19 Compat
React 19 was just released! We've updated our peer dep to accept React 19, and updated our runtime and type tests to check against both React 18 and 19.
Treeshaking
We've done some nitty-gritty optimization work to ensure bundlers correctly treeshake unused parts of the bundle.
What's Changed
- Improve treeshakeability of build artifacts by @aryaemami59 in #2176
- Migrate to React by @aryaemami59 in #2172
- Migrate to React 19 (take 2) by @markerikson in #2216
- Clean up devdeps by @markerikson in #2217
Full Changelog: v9.1.2...v9.2.0