App object methods

Royal2
Shopify Partner
3 0 0

Hello,

Please share the example for History.replace App object methods similar this :

app.dispatch( Redirect.toRemote({ url: 'http://example.com', }), );

 

I am using this but I don't know what params must be sent in this function given below :

app.dispatch( History.replace({ ???? }), ); 

Please assist me

 

Thanks

0 Likes