Stimulus Discourse

Using velocity.js transitions with turbolinks

Turbolinks makes applications load and feel faster, but sometimes on slow connection there still can happen a pause which can be long or sometimes too long on slow connections.
While playing with velocity.js transitions an idea came to mind. What if we use an out transition, meanwhile request the new page, and then the in transition. It will make the page-load a lot faster.
Did someone already create this kind of transition with velocity.js, or pure css, or some other library like GreenSock? If yes, please share your example.

Thank you!

2 Likes