This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-01
Channels
- # adventofcode (66)
- # announcements (12)
- # aws (8)
- # babashka (28)
- # beginners (160)
- # cider (28)
- # clara (22)
- # clj-kondo (5)
- # cljdoc (40)
- # clojure (129)
- # clojure-australia (2)
- # clojure-europe (24)
- # clojure-gamedev (19)
- # clojure-nl (5)
- # clojure-norway (15)
- # clojure-sanfrancisco (25)
- # clojure-seattle (2)
- # clojure-spec (13)
- # clojure-uk (29)
- # clojurescript (14)
- # cryogen (5)
- # cursive (7)
- # data-science (1)
- # datascript (5)
- # datomic (8)
- # deps-new (5)
- # emacs (19)
- # events (8)
- # fulcro (32)
- # graalvm (7)
- # helix (9)
- # kaocha (3)
- # lambdaisland (1)
- # london-clojurians (4)
- # malli (5)
- # meander (32)
- # off-topic (143)
- # pathom (4)
- # portal (32)
- # re-frame (7)
- # reagent (33)
- # reitit (2)
- # shadow-cljs (5)
- # spacemacs (4)
- # tools-deps (30)
- # vim (1)
Wasn’t me that wrote it but another community member 😌 I’m continuously pleased with the quality and amount of contributions from others to helix, docs and otherwise
Yesterday someone pointed me to https://github.com/vercel/swr that deduplicates request to the server. I assumed that it's not compatible with cljs, because I didn't found a mention on slack (and it inspects the data). Do we have a ibrary that we use with helix that have a similar role ?
@geraldodev I think it will work with cljs, I've been evaluating it for use with cljs (in #C012GLC2SAZ I talked about it). I know of no equivalent library. It should even work with cljs-http! As you can use your own fetcher.
@geraldodev If you get it working, I'd find a gist describing how very useful!
It depends on the usecase, but dedup and cancelling of request could be managed with https://github.com/keechma/keechma-pipelines
The API they specify in their README: • keys are strings • Fetchers are functions that take a key and return a promise