A full version history of the @types/react-dom package with size, number of distributed files and dependency evolution.
The @types/react-dom package, essential for TypeScript users working with React, has undergone numerous version updates reflecting the evolution of React itself. Initial versions in the 0.14.x range, dating back to 2016, provided type definitions for React v0.14. These early releases depended on @types/react version 0.14.*. By late 2017, the package jumped to version 15.5.0 aligning with React 15, and shortly after, version 16.0.0 appeared targeting React 16. Notably, a dependency on @types/node was temporarily introduced.
The @types/react-dom package diligently followed React's major and minor version releases, including versions 16.8.x and 16.9.x, signifying the addition of Hooks and other features in React 16. These versions shifted the dependency to the broader @types/react": "^16". Version 17 and 18 saw similar incremental releases for React 17 and 18, with more frequent updates. More recent version, such as version 18.2 and 18.3, maintained dependencies on @types/react":"*". Version 19 saw introduction of peer dependencies and a change in dependecies to @types/react":"^19.0.0". This consistent update cycle ensures that TypeScript developers can leverage the latest React features with accurate type safety. The package consistently depends on @types/react, reflecting the close relationship between React and its type definitions. The clear versioning scheme and dependency management provided by @types/react-dom are crucial for maintaining stable and type-safe React applications.