Fork me on GitHub
#reagent
<
2017-01-08
>
martinklepsch09:01:46

with react-flip can you also animate elements that don’t enter or leave the dom? /cc @mikethompson

martinklepsch09:01:10

I found the demo in that Google talk pretty cool but so far I’m not seeing how I would achieve something like it using react-flip

mikethompson09:01:15

@martinklepsch we use react-flip-move to do enter/leave/move annimations

martinklepsch09:01:28

@mikethompson sorry for bugging but do you know of any docs regarding the move-part?

mikethompson09:01:02

Not really docs, but an example

martinklepsch09:01:14

Ah, that’s perfect, should have thought of that 🙂

martinklepsch09:01:30

Thanks! And sorry for mentioning on a Sunday, wasn’t my best 😄

mikethompson09:01:56

no problems at all

mikethompson09:01:58

Just to be clear: we use react-flip-move to control the animations of items in a list. We're not moving things around arbitrarily here.

mikethompson09:01:52

So ... when I say entry/exit/move ... I mean .... entry of items into the list, their removal from the list, and the reordering of items within the list.

martinklepsch10:01:51

Works now, didn’t supply the key properly 🙈