Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Pages transitions #587

Closed
cedricdelpoux opened this issue Aug 1, 2016 · 6 comments
Closed

Pages transitions #587

cedricdelpoux opened this issue Aug 1, 2016 · 6 comments

Comments

@cedricdelpoux
Copy link
Contributor

It could be great to handle pages transitions using css transitions to reproduce this kind of transitions : http://tympanus.net/Development/PageTransitions/

I used react-router to handle the routing transitions but there is maybe a better way : https://gist.github.com/cedricdelpoux/4286de789e7b0138708a3be4581963f2

What do you think ?

@MoOx
Copy link
Owner

MoOx commented Aug 2, 2016

Will take a look when I got some times :)

@cedricdelpoux
Copy link
Contributor Author

Thank you for your help :)

@DavidWells
Copy link
Contributor

👍 looks cool!

@MoOx
Copy link
Owner

MoOx commented Sep 28, 2016

I got an awesome idea:

  • stop unmounting current Layout, instead keep it and just send new props (people will be able push an optimistic update with title, meta, with just the body to update, when data are received)
  • handle render of the Loading differently (have to think about this a bit more)

This should allow people to do whatever they want (eg: use ReactCSSTransitionGroup) in they layout when props change.

@cedricdelpoux
Copy link
Contributor Author

Awesome solution. thank you for your help

@MoOx
Copy link
Owner

MoOx commented Nov 9, 2016

I guess what we have in 0.18.0 is enough for now. We can improve and revisit later.

@MoOx MoOx closed this as completed Nov 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants