Example usage for rescript-reanimated

Hey all. I wanted to integrate some animation into my Rescript components on Expo. I found this bindings package: https://github.com/reck753/rescript-reanimated

I’m new to Rescript, so it wasn’t immediately clear to me how to use it, despite being pretty familiar with react-native-reanimated. It was mostly a syntactical issue for me. But with a little bit of fiddling I got a working example that I’m going to be using in my project.

Anyway, I thought I’d contribute to the community by providing an example that will hopefully help someone else out that’s also a little confused. Not sure if this is perfectly idiomatic Rescript. Let me know!

2 Likes