I'd like to trigger a route change via javascript in RendrJS. My use case is that the user is on the /register
page and upon a successful registration attempt I would like to direct the user to the /account
page. Whats the best way to achieve this?
rendr isomorphic framework trigger route
45 Views Asked by jaredrada At
1
Best practice in Rendr is to use
redirectTo
since it's isomorphic.Inside a controller, we use:
Inside a view, we use: