I'm going to be making my own in Reagent ... except i don't currently have internal customers for it
the approach I'm taking to assuring correct order of server responses (as individual requests will take variable amount of time to return) is your standard debounce (300ms-500ms) is to hold the object returned from the ajax call (xhr object in JS land, and I assume some cljs object returned by cljs-ajax) and compare it to the one passed into the success handler and only display the results of autocomplete if the two match... this is the standard recipe in JS land, and should be possible here too RxJS does it for you by treating the separate events as a stream and re-ordering http://jsfiddle.net/mattpodwysocki/AL8Mj/ HTH On Fri, Apr 17, 2015 at 8:26 AM, Jamie Orchard-Hays <[email protected]> wrote: > Bumping this. Anyone have a favorite solution? > > Jamie > > On Apr 16, 2015, at 8:37 PM, Jamie Orchard-Hays <[email protected]> > wrote: > > > What are folks out there using for autocomplete/typeahead in > Reagent/re-frame apps? > > > > Cheers, > > > > Jamie > > -- > 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.
