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

Releases: TylerBarnes/gatsby-plugin-transition-link

Oops..

08 Nov 04:26
Compare
Choose a tag to compare

I was so happy about the last release that I forgot to test using no layout component. This fixes that!

Add internal gatsby-plugin-layout support

08 Nov 04:16
Compare
Choose a tag to compare

Since it was finicky / hard getting layouts to work properly with this plugin (and even with no errors, transitions weren't working), I've integrated the code from gatsby-plugin-layout into this plugin.

Usage:

    {
      resolve: "gatsby-plugin-transition-link",
      options: {
        layout: require.resolve(`./src/components/Layout.jsx`)
      }
    },

Fix SSR

07 Nov 23:40
Compare
Choose a tag to compare

Because of the way TransitionLink was delaying pages during transitions, it was accidentally preventing full SSR in the build step. This release fixes SSR

Fix IE missing array.includes

07 Nov 21:46
Compare
Choose a tag to compare

Prior to this release TransitionLink wasn't working in IE. Should be good in IE11 and maybe older versions.

Fixed babel browserlist

07 Nov 19:27
Compare
Choose a tag to compare

I had my babel config set up wrong and it wasn't building properly to support the same browsers as gatsby.
Fixed!

Updated docs

04 Nov 07:56
Compare
Choose a tag to compare

Added some really rough docs in the readme. I will be refining this and creating a docs site to make it easier to read in the near future.

V1!

04 Nov 04:54
c8c2046
Compare
Choose a tag to compare
V1!

This is the first stable release of gatsby-plugin-transition-link! A number of awesome improvements have been made but the readme needs to be updated and will be soon.

Overhaul of transition context + addition of exitState prop

26 Oct 15:44
Compare
Choose a tag to compare

Added transition statuses to the data that pages receive. ("exiting" and "entered")

Prior to this release, the entryState was available to both the exiting and entering pages. Now pages will only receive the relevant data to their transition status.

exitState has been added. It works the same as entryState but is of course applied to the exiting page.

There is now a component which can read the exit or entry state anywhere in your app.