r/reactnative • • Jul 17 '22

Animating Cards using the Gesture Velocity

470 Upvotes

36 comments sorted by

47

u/DJYEEZYWORLDPEACE Jul 17 '22 edited Jul 18 '22

Details can be found here

I can provide the repo too - if people are interested

Edit: Code can be found here

2

u/DJYEEZYWORLDPEACE Jul 18 '22

Code can be found here!

15

u/[deleted] Jul 17 '22

Excellent work OP, would love to see some code.

8

u/ikeif Jul 17 '22

Why do people even ask “if there is interest I’ll share the repo”? We want to see the code! :)

Would love to check it out, this is cool.

0

u/[deleted] Jul 17 '22

[deleted]

8

u/ikeif Jul 17 '22

This isn’t a “judge my code” it’s “I wrote code that does X.”

It’s “I made a product” versus “I did a cool thing.”

If someone tries to come out and say “I released a library that will solve this/do these things” - yes, I would expect documentation and clean code.

But when someone says “I did a cool thing” - I don’t care if they have loops in loops in loops - I will refactor their code myself if I have a problem with it, I want to see how they made the magic happen.

2

u/Cold-CatAF Jul 18 '22

Nowadays people gatekeeping knowledge, the future is bleak

0

u/RedHotBeef Jul 18 '22

Intellectual property is not a new concept and the future is fiction :)

0

u/[deleted] Jul 17 '22

[deleted]

-6

u/ikeif Jul 17 '22 edited Jul 18 '22

So is this your alt account then? Because you’re going to bat for someone else’s demo.

ETA: apparently someone did a dirty delete or blocked me - the person I was talking to was (coming off as) defensive like it was their project, so I just asked a simple question. People can have alts for any number of valid reasons, and accidentally forget to switch because they want to respond to something and lose track.

Sorry some of you think asking any question to make sure I know who I am talking to is such a negative thing to do.

0

u/[deleted] Jul 18 '22

[deleted]

2

u/ikeif Jul 18 '22

No worries - it wasn't meant to be an offensive questions, you just were coming across (online, it's hard, I know) like you were the author of the code.

People can have alts for any number of valid reasons, so I just wanted to know if I was talking to the author, or just someone passionate about the general concept!

Thanks for your response.

1

u/kierancrown Jul 18 '22

Would love to see the repo ✨

3

u/maarzx_ Jul 17 '22

Repo please! This is great

2

u/_SyRo_ Jul 17 '22

Yep, it's interesting to see the code

2

u/atman171 Jul 18 '22

Why tf would you not share the code breh this animation is clean!

1

u/stacktraceyo Jul 18 '22

I’d like to see this as well. Nice work

3

u/maxstader Jul 17 '22

That's awesome. Yes repo please!

6

u/Stranavad Jul 17 '22

Damn that looks good. Would like to see it with more items, like 50 or so. how does it stand performance-wise.

2

u/Ok-Bass-4256 Jul 17 '22

Awesome. So clean.

2

u/Unusual-Bandicoot-19 Jul 17 '22

Wow, this is smoooth! Well done

2

u/[deleted] Jul 17 '22

How's the performance on an old Android device?

1

u/strobe229 Jul 17 '22

Very nice

1

u/nfsi0 Jul 17 '22

Beautiful work!

1

u/bitxhgunner Jul 17 '22

Great work!

1

u/[deleted] Jul 17 '22

Think I’m going to recreate this as a project for improving my skills. Thanks for the post!

1

u/cowinkiedink Jul 17 '22

Very cool, I want to try this on a few applications I have.

1

u/whaddafish Jul 18 '22

That's a great work right there! Can we get the repo too?

1

u/redditNLD Jul 18 '22

Fuck, this looks good.

1

u/eggtart_prince iOS & Android Jul 18 '22

New way to swipe right on Tinder?

1

u/[deleted] Jul 19 '22

Holy shit that's so satisfying and cool

0

u/ReactBrudar Jul 18 '22

Ddddddddddeeeeeemnnnn i loveeeee ♥ ♥ ♥ ♥ ittttt . LITTTTTTTT gonna use it on production. No testing the users will test it directly.