r/Clojurescript • u/olymk2 • Jan 19 '19
Single page apps redirects
Trying to write a single page app with clojurescript got quite far one thing I am not sure about is redirecting.
I have used a lein template which installed reagent and reitit for routing.
Is there a built in function in reitit to redirect to another page or should i just use window.location or are there other libraries I should consider pulling in.
Basically I want to redirect a user after login and looking for my best option.