Simple and customizable page transitions for Next.js apps
skipInitialTransition
prop (@mstefaniakap in #29)timeoutsShape
is defined (@nwalters512 in #30)timeout
prop required only in non-production environments (@ScottMorse in #21)Array.prototype.indexOf
instead of Array.prototype.includes
for IE11 (@brandonjcreek in #5)window.scrollTo
to disable Next's default behavior that scrolls to the top of the page when a Link
is clicked, which can have an undesirable jerking effect when running page transitionsappear
transitions off - it's much easier to reason about behavior without having to worry about thatInitial release