Re: [ClojureScript] Re: Reagent/routing/SPA question

2017-04-30 Thread jmckitrick
Ok, I’ll have to dig into your examples and code and see which approach I’ll try. On Wed, Apr 26, 2017 at 1:40 AM Jonathan Fischer wrote: > It kind of comes down to how you're managing the state in your project. > I'm using re-frame at the moment, so I have kind of

[ClojureScript] Re: Reagent/routing/SPA question

2017-04-25 Thread Jonathan Fischer
It kind of comes down to how you're managing the state in your project. I'm using re-frame at the moment, so I have kind of top-level key in my project state to tell me what the user's looking at. Then I register my routes with Secretary and each route just kicks off an event that'll eventually

[ClojureScript] Re: Reagent/routing/SPA question

2017-04-25 Thread Torsten Uhlmann
There are a few other client side routing libraries that support bidirectional linking. One of them is Bidi (https://github.com/juxt/bidi) on their README there's a list of possible alternatives. In my app I'm using a combination of Secretary with some parts of Accountant