Summary: In this release, I refactored the entire package, focusing primarily on optimizing animations and reducing unnecessary re-renders in the components. I also added new examples.
Main changes
- Optimize animation performance.
- Use translateX instead of marginLeft for animations.
- Use scaleX instead of width / maxWidth for animations.
- Remove the custom status bar; it can be controlled externally.
- Remove React Navigation-related code; it can also be controlled externally.
- Refactor examples.
- Update README.md.
Examples
- 1. Basic example
- 2. Custom buttons example
- 3. Column buttons example
- 4. Previous button example
- 5. Custom slider render function example
- 6. Statusbar example
- 7. React navigation example
- 8. Gif example
- 9. Third party library example
What's Changed
- fix(#83): fix flickering issue during animation, upgrading packages by @RichardRNStudio in #84
- chore(#86): refactor examples, update README.md by @RichardRNStudio in #87
Full Changelog: v2.1.18...v3.0.1