This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
Releases: junhoyeo/use-color
Releases · junhoyeo/use-color
1.0.4
Bug Fixes
- When you pass an callback to
setColor
. It was always returning the initial color, not the previous color state!
Thanks @arthurdenner for discovering & fixing it (#3)
Docs
- Typos in README have been fixed at #3 too! Thank you again @arthurdenner 🎉
1.0.3
react
andreact-dom
has been moved topeerDependencies
anddevDependencies
- This makes the bundled package smaller in size
- Minified: 11.7KB 👉 4.9.KB(-58.11%)
- Minified & gzipped: 4.1KB 👉 1.6KB(-60.97%)
- I didn’t want to add the
peer-install
for this, so I just copied them to thedevDependencies
if you ask me
- This makes the bundled package smaller in size
- The documentation about other exports is now released to NPM.
- Special thanks to @jonrose-dev(#1)