Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Releases: junhoyeo/use-color

1.0.4

11 Jul 09:14
Compare
Choose a tag to compare

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

11 Jul 05:27
Compare
Choose a tag to compare
  • react and react-dom has been moved to peerDependencies and devDependencies
    • 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 the devDependencies if you ask me
  • The documentation about other exports is now released to NPM.

1.0.2

04 Jul 20:26
Compare
Choose a tag to compare
Bump version to 1.0.2

1.0.1

04 Jul 20:11
Compare
Choose a tag to compare
fix: type imports with wrong capitalization