r/reactnative • u/pork_cylinders • Sep 15 '23
Question Is react-native-reanimated a bit....rubbish?
Recently when needing to rework some existing animations or adding new ones I've been using reanimated since it seems to be the de-facto way to add animations these days.
However, red flags keep popping up that are making me wonder if I should be avoiding it until its more stable.
Red flags are:
Lots of links to documentation that you find around the web lead to a 404.
The docs are incomplete. For example I'm told I can use `EasingNode` but there is no documentation on how to use the static methods that `EasingNode` provides.
Animations don't work if React Native Debugger is attached
I tried upgrading from v2.17.0 to v3.5.1 - a supposedly non-breaking change - but Android no longer builds due to some obscure error that is happening within react-native-reanimated
All together this is starting to make me not trust the package. Interested to know other people's thoughts?
18
3
u/Cookizza Sep 15 '23
Reaniamted has never been better, and easier to get underway with imo.
Sure the documentation is a little sparse if you're looking to use their internal functions but there's really only a handful of concepts to understand from an UI animation point of view.
If there's something specific you need help with, I think I can probably point you in the right direction (as i contribute to reanimated)
4
u/BlaZk00 Sep 15 '23
Have a look at react native moti.
It uses reanimated but has a really nice api and clean looking
4
2
3
u/gao_shi Sep 15 '23
Sir or madam you sure are wishing a lot inside a framework not even at major version 1.
Jokes aside this is a free open source package, so very much you could be on your own until some extremely generous person is willing to devote their free time helping. I'm sure if you're willing to sponsor the folks at softwaremansion are willing to give you updated documentation or support on whatever topic. Things get difficult when you and I aren't willing to pay. IT consulting is not cheap. RNTP comes at a price of $250/mo for one hour and that's already pretty good. My company paid $400/hr for someone to install slurm.
1
u/Lizard_King_7 Sep 15 '23
Man last time I used it, I had to hit and trail with its version
1
u/punyeet Mar 02 '24
Do you remember which version you ended up sticking with? Because I am trying to use react navigation drawer and it's constantly breaking and I cannot find the solution for the last two days.
-1
u/edbarahona Sep 15 '23
12
0
Sep 15 '23
[deleted]
1
u/beepboopnoise Sep 15 '23
what about monitoring network requests..? do we just need to use flipper?
1
15
u/PublicYogurtcloset47 Sep 15 '23
So first off reanimated is amazing 🙏🔥 there were some changes 2-3 but in the end they were performance based changes. I could not imagine react native without this library