MaterialTransitionGroup
Adding a polymer like animation element/component for full page transitons might be very helpful :D as of now the CSSTransitionGroup is limited
Yeah. I guess that's the only thing we're missing.
I've been attempting to work on a solution for this. However it will need to sit in the router layer. Haven't had too much success. Willing to bounce ideas around though.
I think it can be done as polymer does it ... react will only create a new instantiation of your component if required usually it just changes props that could be used as a root of where transitions are required then get the elements of final and first state with same classname and call a transition there On Feb 20, 2015 1:40 AM, "Brandon Clark" [email protected] wrote:
I've been attempting to work on a solution for this. However it will need to sit in the router layer. Haven't had too much success. Willing to bounce ideas around though.
— Reply to this email directly or view it on GitHub https://github.com/callemall/material-ui/issues/333#issuecomment-75126327 .
@darkyen This is possible and is somewhat similar to how react-router "achieves" this result. However this requires you to load all "pages" on initial load and store them on the page. I don't think it is optimal to have all "pages" rendered into the page and use classes with state transitions. If there is a heavy data load, the browser will start seeing some major hits.
I'm going to try and leverage flux stores to hold the state until a view requirement is met. But not sure if this will work either.
So, https://github.com/chenglou/react-animation was released yesterday - how would one use that with Material-UI, if you want to do page transitions and what not?
I think React-transition group already helps achieve all these. Closing this.
Not it does not. React is extremely primitive when talking about animations.
Closing this issue for #4117.