Closed oblador closed 2 years ago
+1
@HashibulAmin & @akinncar Have you tried this PR out? Would love to get some feedback from real world use cases.
I just tried this feature with the Example app, and create a repo to test it https://github.com/akinncar/expo-collapsible-example
"react-native-collapsible": "git://github.com/oblador/react-native-collapsible.git#reanimated"
on package.json
Let me know if I can help with anything more, I don't have other examples yet.
@akinncar Thanks! I've tried those as well, would be great to have some real world tryouts too 👍
Nice improvement! I tried this in my project and the animation is noticeably smoother. Not sure how others would feel about the "Pure JavaScript" part going away, but as someone who just needs this on mobile and already has reanimated installed, it was a welcome change.
Working fine in my project. Bug with nested collapsibles still exists.
Hey @oblador, is a new version which includes this change going to be published to NPM?
Why reanimated was removed? I can't quite find the reason.
@oblador Could you help me understand why this PR was reverted? I really enjoy using this package but with 120Hz displays the current JS implementation has started to fall behind my other Reanimated components.
Would you be willing to merge a PR with the reanimated v2 API? I would gladly submit one.
Pro: Allows us to use native driver for smoother animations. Con: Breaking change that adds a new dependency, however the majority of RN installations already have it.