Releases: moubi/swipeable-react
Releases · moubi/swipeable-react
React hooks rewrite 🎉
Thanks to @Yaxian 👏 Swipeable got a full rewrite using functional component and react hooks.
It means that consumer projects should have version of react >= 16.8.0
Older versions could be used as well. React dependency there is >= 15.5.0
.
Remove dependencies and add contributing guides
react
andreact-dom
were moved todevDependencies
.react
goes topeerDependencies
as min version of15.0.0
CONTRIBUTING.md
guide was added to help us organize our timepackage-lock.json
was removed by @ankitsilaich (we use yarn)- project logo was added as well
Replace prepublish
Use prepare
and prepublishOnly
scripts.
Minify build capabilities
yarn build
will now minify the component inlib/index.js
yarn size
- new script to output the gzip size of the components (1.4 kB)- small updates to the README