Fork me on GitHub
#reitit
<
2021-10-07
>
worlds-endless20:10:33

Using reitit-frontend, how do we implement a redirect? Basically we want it to work exactly like clicking on a local link does: updating the stack, changing the visible url, and being handled by the Reitit router. We simply want to trigger it by something other than a link-click. How may we do this? Our example is using a third-party login tool. We receive notice when login has succeeded, and then want to take them to a specific place without instituting an exit/re-entry within our app. How do we do this in reitit-frontend?

lsenjov23:10:07

push-state or replace-state