I have a web project, based on React, where I'm using React Router 4 to handle my routing. I've been doing some baby steps with React Router together with "react-transition-group", adding a fade transition based on CSSTransition component's classes, ie fade-enter, fade-enter-active etc...
Anyhow - this works all good and everything, but if I click the browser buttons back and forth quickly to change route, then the transitions get interrupted and will be more jumping into the "new state of transition".
Is there a way to queue the changed route so that if the user change to a different route while a transition is already in progress, then wait for the first transition to complete, and then handle the "new route". I don't want the location/url to be stopped or anything just the transition to work more smooth..?
Thanks