Fork me on GitHub
#rum
<
2018-12-06
>
sova-soars-the-sora00:12:47

Hello. I want to use :did-mount to do a "flash & fade" color effect on newly posted comments.

sova-soars-the-sora00:12:54

I'm clueless as to how to do this with rum & react.

sova-soars-the-sora00:12:04

I've got the idea to use a mixin

sova-soars-the-sora00:12:27

(def show-fresh 
       {:did-mount (fn [state] .... 

sova-soars-the-sora00:12:10

any help greatly appreciated! ^_^

sova-soars-the-sora00:12:34

oooh got it from an example. using CSS to create a transition ^.^

sova-soars-the-sora00:12:02

nevermind. is tricky.

tonsky13:12:02

set a timer in did-mount

tonsky13:12:13

when it fires, start fade

sova-soars-the-sora06:12:54

could you elaborate pls?