react-native-skeleton-placeholder
react-native-skeleton-placeholder copied to clipboard
Version 6.x
Hello everyone!
I've been thinking for a long time about rewriting this package to remove the masked-view dependency. Since React Navigation 6 and higher no longer use it, it makes sense to move away from it as well.
Another reason for this rewrite is that I noticed many issues reporting that the package doesn't work with Expo projects, which I know is frustrating.
With these things in mind and a goal to improve the package, I decided to start rewriting it. While it's impossible to eliminate all dependencies, I believe I've reached a solid initial result that I want to share with you.
The new version will require react-native-svg and react-native-reanimated as dependencies. I think this is a good change since most projects already use these libraries.
Here’s what’s different:
- The package now uses
svgfor masking and gradients, transforming the given layout into equivalent rectangles and circles. reanimatedhandles animations on the native thread, which significantly improves performance.
The first beta version 6.0.0-beta.1 is ready and working well, though it still needs improvements. I'll release it ASAP and I'd love to hear your feedback and would really appreciate any help with enhancements.
Thank you all for your support!
great news!
Thanks, great job! Are you planning a stable release soon? Will it work with React 19 (currently has peer dependencies error) ?