Is it possible to use these two?
I have a loading screen setup in my komposer container, works great. But once it is done loading the data just flashes onto the screen. I was wondering if I can setup some animation.
I set up the componentWillEnter
and componentWillLeave
on the relevant COMPONENT. Now I’m not sure how or where to wrap the TransitionGroup
.
I tried this (wrapping the container), but it doesn’t call the component’s enter/leave functions.
<TransitionGroup>
<PostsContainer />
</TransitionGroup>