Airbnb'd Render has ClientRouter and BaseRouter both of which extend from BaseRouter (link below)
https://github.com/rendrjs/rendr/blob/master/shared/base/router.js I just looked it up and have not used this. I did use their "battle tested" infinite scroll widget once and it was one of the least efficient and most bug ridden designs I've seen from a major player so I'm just providing this link as an example... Sent from my iPhone > On May 21, 2015, at 9:36 AM, Khalid Jebbari <[email protected]> wrote: > > To eliminate the need to use 2 different routers, the only possibility I see > is to use a js library that works both on client and server-side. Backbone.js > has a minimal router like this, you may also want to check crossroads.js or > finch.js. > But something tells me that you'll need to write some different boilerplate > for server and client to plug into this. Both have different ways to "listen > to" URL requests/changes. History.js is famous for doing this in the client I > think. > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
