reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
Franklin 2020-04-30T16:29:44.330700Z

what is the best way to achieve the kind of routing implemented by react-router where when you click a link on any page, the browser does not perform a reload? I was thinking a potential way of doing this is creating a reagent component that encapsulates a HTML `<a>` tag that receives click events but calls  `(. e preventDefault)` on them. Does anyone here have thoughts on this?

athomasoriginal 2020-04-30T16:39:54.330900Z

Can you use reitit? They have mechanisms that allow for this

Franklin 2020-04-30T16:40:32.331100Z

uuuuh... I haven't tried reitit yet... Will look it up

Franklin 2020-04-30T16:40:37.331300Z

Thanks :simple_smile:

💯 1
Franklin 2020-04-30T17:11:05.331700Z

Found out that accountant is meant for this exact thing