React Loading Skeleton's version 1.2.0 introduces notable upgrades for developers looking to implement visually appealing loading states in their React applications. A key difference from version 1.1.2 lies in the updated dependencies, particularly the shift to Emotion version 10.0.17 from 9.2.8, potentially bringing performance improvements and new styling capabilities. Babel and Webpack configurations have also been modernized in version 1.2.0, upgrading @babel/core to ^7.6.2 and incorporating newer Babel presets and plugins (@babel/preset-env, @babel/preset-react, @babel/plugin-proposal-class-properties) streamlining the build process and enabling modern JavaScript features and syntax.
Developers will appreciate the updated Storybook version (^5.2.3), offering an enhanced component development and testing experience. Furthermore, the significantly larger unpacked size in version 1.2.0 (695666 vs 27331) suggests a potential inclusion of more comprehensive assets or optimized code, but it is important to asses if this increase also increases overall performance. These changes collectively indicate a commitment to staying current with the React ecosystem, potentially leading to better performance, improved developer experience, and enhanced compatibility. The peerDependencies remain consistent, ensuring compatibility with React versions 15.6.1 and above. If you are already using emotion v10 it would be useful to upgrade to this version, or conversely, if you are using babel v6, webpack v3 or storybook v3 it would be wise to update to v1.1.2 first, as the step to v1.2.0 would be longer.
The are not vulnerabilities for the version 1.2.0 of the package react-loading-skeleton