animatedjs / animated

Declarative Animations Library for React and React Native
MIT License
1.85k stars 102 forks source link

Syncing with React Native Animated #75

Open souporserious opened 7 years ago

souporserious commented 7 years ago

First, thank you so much @vjeux and @browniefed for making this library happen. It's been a great dev experience so far.

If possible, I'd like to get some ideas from @vjeux on the future of Animated and what it looks like. Is there room for someone like me to help push this project forward and start aligning it with React Native's Animated internal version? Is the idea that this repo will house everything and React Native will pull from it? I can start moving files over if you'd like and get the ball rolling, please just let me know.

I only use React in a web environment and have found it very refreshing to work with compared to other React animation solutions. I'd love to do whatever I can to keep this project going. Also, I love the fact that when I eventually start writing React Native code I will already know how to animate components 🎉

vjeux commented 7 years ago

The idea was for this to get this repo going so that we could get something working on the web and then to merge the two later. I also want a really slick website with a lot of demos and docs.

The truth is that I'm no longer in the React team and will not make the time to make it happen anytime soon (but I do want it to happen!). So don't expect too much from me.

If you want to start merging the two implementations, that would be huge!

souporserious commented 7 years ago

This sounds great! No worries, I totally understand. If I could just get guidance on some things, I can do the grunt work. I'd also love to help put together a demo site if possible :) I'll ping this issue once I get a chance to sit down and start working on this stuff. Thank you for the quick reply!

dariocravero commented 7 years ago

For those interested in using animated with React 16 while this gets sorted, I've just published this https://github.com/viewsdx/react-dom-animated

It includes the changes in #70. Ideally, it would also include #26 in a generic fashion, contributions welcome :).

The idea is that the package is temporary until this repo gets fast-forwarded.

Ping #63.

DylanVann commented 6 years ago

I'm wondering how tied in the native implementation is to React Native / if it could be broken out into a package that can be natively linked.

I want to make some changes to the native side and to the JS side of React Native's Animated, but it's going to take forever for them to get approved and merged in, so I'm thinking about trying to fork Animated from react-native.

DylanVann commented 6 years ago

The fact that https://github.com/wix/react-native-interactable is a separate package and it manages to transform views and animate them natively indicates that it would be possible to decouple Animated from the rest of React Native.