Quantcast
Channel: What's the equivalent of this.props.history.push in gatsby? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Mehdi Faraji for What's the equivalent of this.props.history.push in gatsby?

$
0
0

The top answer doesn't work anymore But this does work :

import { navigate } from "gatsby"  
navigate(`/payment/${stripe_plan_id.id}`)

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>