Gatsby: Access to history (to createa a back button) in createPage?

Created on 21 Nov 2018  ·  1Comment  ·  Source: gatsbyjs/gatsby

I am trying to create a back button in a plugin created page. (A page made with createPage)

Not sure how to access the history prop and make a back button though.. ):

question or discussion

Most helpful comment

You should be able to use default browser window.history.back()

>All comments

You should be able to use default browser window.history.back()

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustinhorton picture dustinhorton  ·  3Comments

dustinhorton picture dustinhorton  ·  3Comments

ghost picture ghost  ·  3Comments

jimfilippou picture jimfilippou  ·  3Comments

3CordGuy picture 3CordGuy  ·  3Comments