This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-28
Channels
- # aleph (3)
- # babashka (66)
- # beginners (96)
- # calva (45)
- # clj-kondo (28)
- # clojure (30)
- # clojure-dev (2)
- # clojure-europe (20)
- # clojure-germany (22)
- # clojure-norway (4)
- # clojurescript (176)
- # clojutre (1)
- # cursive (23)
- # datalog (6)
- # datomic (7)
- # docker (3)
- # emacs (3)
- # exercism (4)
- # figwheel-main (5)
- # fulcro (8)
- # gratitude (9)
- # hyperfiddle (8)
- # introduce-yourself (2)
- # jobs (2)
- # malli (4)
- # membrane (3)
- # off-topic (17)
- # polylith (3)
- # portal (2)
- # re-frame (27)
- # reitit (3)
- # releases (1)
- # remote-jobs (1)
- # shadow-cljs (152)
- # spacemacs (8)
- # tools-deps (15)
- # vscode (1)
- # xtdb (24)
hello, I don't quite understand how to handle a http remote with multiple routes. Since I gave the url for the remote, I'm always making request to the same url? Should I create one remote per rest route?
you're talking about a REST API, not a pathom remote, right? if that's right, then why even register it with fulcro at all?
you think I'd be better off making a custom xhrio request?
and yes, it's a simple firebase functions api
yes, and then merging the data you get back yourself (assuming you want to get it into fulcro's db)
you could also try to have a client-side pathom instance i suppose--you'd need to write resolvers, and then the rest would work "as usual" with fulcro
ok I see, I think simple xhrio requests would work just fine.
thanks.