React Hook Form is a library designed to simplify form management in React applications, known for its performance and ease of use. Comparing versions 1.1.0 and 1.0.1, several key differences emerge that impact developers. Version 1.0.1 includes styled-components as a dependency, suggesting earlier versions might have leaned more heavily on styled components for its internal styling or components. However, this dependency is removed in version 1.1.0, potentially streamlining the library and reducing its overall bundle size, which is advantageous for faster loading times. Both versions share the same peer dependencies of react and react-dom at version ^16.8.0.
Looking at the common devDependencies for both versions such as jest, enzyme, rollup, typescript, and related type definitions, which implies that both versions were developed with a strong emphasis on testing and type safety, appealing to developers who prioritize code quality and maintainability. The increased unpackedSize and fileCount in version 1.1.0 suggest more features or enhancements were added. The release dates indicate a relatively short period between versions, highlighting active development and improvement. Developers upgrading should consider the removal of styled-components dependency which means less bloat on the final JS.
The are not vulnerabilities for the version 1.1.0 of the package react-hook-form