javascript - React-Redux vs ReactCSSTransitionGroup -


i've encountered issue connecting redux , reactcsstransitiongroup. i'm wanting transition old elements out , new ones in. movement fine because redux breaking parent/child prop relationship, old elements being rendered new data before exiting.

there's fiddle below shows relationship single child , 1 level deep.

<parent>   <child/> </parent> 

for case easy enough pass props directly, hoping solution play nicer more complex structure:

<greatgrandparent>   <grandparent>     <parent>       <child/>       <child/>       ... 

how might 1 prevent children updating when transition triggered?

https://jsfiddle.net/haygoodjon/wx0l0bx7/2/

^ fiddle updating old time before removing dom. expected behavior can achieved removing connect on child , passing time prop directly app


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -