Redwood: Add back functionality to Router

Created on 26 Aug 2020  路  4Comments  路  Source: redwoodjs/redwood

It should be easy to navigate back. Right now there's no built-in way to do this. We already use navigate to navigate programatically. It might make sense to add the back-navigation feature there:

navigate.back()

The way it's done natively with web apis is via history's back and go properties. back does what you would expect, and go takes a number, so you can go back multiple pages. Do we want to enable that kind of functionality too?

good first issue hacktoberfest kindiscussion router

Most helpful comment

I would like to work on the issue @peterp @jtoar

All 4 comments

I would like to work on the issue @peterp @jtoar

Hi @shakti97 I assigned this issue to you 馃殌 Please let me know if you're no longer interested so I can open it up for someone else.

If you haven't already, please do take a look at our getting started information for contributors: https://github.com/redwoodjs/redwood/issues/1266

Lastly, don't hesitate to reach out if you have any questions along the way

okay, yes I am working on it.

@shakti97 Interested in hearing about the solution you're going for, if you have gotten that far yet 馃檪 What would the API look like for the user?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cannikin picture cannikin  路  3Comments

slavakurilyak picture slavakurilyak  路  4Comments

weaversam8 picture weaversam8  路  3Comments

freddydumont picture freddydumont  路  3Comments

thedavidprice picture thedavidprice  路  3Comments