Fork me on GitHub
#re-frame
<
2015-11-23
>
sreenath.n14:11:11

I was trying out re-frame and secretary (for routing). But, when I do (secretary/dispatch! "/users/gf3”) it is not updating the URL. Any thoughts?

gabe17:11:38

@sreenath.n: that’s not what s/dispatch! does

gabe17:11:06

i change the hash on window.location

sreenath.n17:11:10

@gabe , so you change the window.location whenever there is a secretary/dispatch ?

gabe19:11:49

@sreenath.n: I call dispatch! on navigate. This routes to a defined route.

gabe19:11:08

What is your use case?

sreenath.n20:11:52

I have an input text box to get githubId. When the user enters the ID and press a button, I need to change the route to #/profile/<guthubId>. So the URL must be dynamically formed.