react-native-skeleton-placeholder icon indicating copy to clipboard operation
react-native-skeleton-placeholder copied to clipboard

Version 6.x

Open chramos opened this issue 9 months ago • 1 comments

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 svg for masking and gradients, transforming the given layout into equivalent rectangles and circles.
  • reanimated handles 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!

chramos avatar Feb 11 '25 10:02 chramos

great news!

ghiral avatar Feb 13 '25 10:02 ghiral

Thanks, great job! Are you planning a stable release soon? Will it work with React 19 (currently has peer dependencies error) ?

rklf avatar May 21 '25 21:05 rklf