Fork me on GitHub
#reitit
<
2018-08-22
>
mkvlr12:08:17

is there a reason for reitit frontend to not add the query params on the parsed route?

mkvlr12:08:02

we do SSR in clojure and would like to load the view data via transit from the same url and would need the query params to match

ikitommi13:08:21

@mkvlr Juho did something for that today, does this look ok? https://github.com/metosin/reitit/pull/125

mkvlr13:08:43

@ikitommi oh, awesome, yeah, that looks great!

mkvlr13:08:07

I’ll give it a spin and let you know if it works for us

👍 4
mkvlr13:08:33

any suggestion for the easiest way to bring this into a tools.deps project?

ikitommi13:08:08

not sure, is something needed on the reitit side?

mkvlr13:08:59

nevermind, got it, built reitit-frontend locally and used :local/root

mkvlr13:08:19

hmm, either I’m doing something wrong (not unlikely) or it doesn’t work

mkvlr13:08:28

still not seeing query params on my matched route

ikitommi17:08:57

thanks! I’ll chat with Juho tomorrow, we’ll try to merge those in.

ikitommi17:08:08

(also, the 0.2.0 out)

💯 8