Page transitions in Meteor+React?


#1

I was wondering if anyone knows of a way to have page transition effects when the Flow Router route changes? I want to smoothly change the page’s background color, and maybe even animate the position of specific text in the parent. Is this possible?


#2

Try wrapping the page component with this before returning the component in flow router /react layout

I’ve used this with components nested inside the page but it should also work with flow router.

Also double check the 0.14 RC on their blog to make sure there aren’t breaking changes coming up :smile:


#3

Is it worth trying to set it up that way instead of using React router ?


#4

Yea prob not if you haven’t committed to FR already. React router is really nice


#5

I’ve done it:

http://react-transition.meteor.com/ (just emulate iphone/android on chrome)

You can easily start from there