This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-20
Channels
- # admin-announcements (1)
- # bangalore-clj (4)
- # beginners (176)
- # boot (38)
- # cider (9)
- # clara (1)
- # clojars (9)
- # clojure (290)
- # clojure-belgium (25)
- # clojure-berlin (2)
- # clojure-dusseldorf (10)
- # clojure-italy (1)
- # clojure-russia (141)
- # clojure-sg (1)
- # clojure-spec (40)
- # clojure-uk (38)
- # clojurebridge (19)
- # clojurescript (148)
- # code-reviews (37)
- # community-development (7)
- # cursive (27)
- # datomic (71)
- # editors-rus (3)
- # events (1)
- # heroku (1)
- # hoplon (16)
- # jobs (5)
- # lambdaisland (3)
- # lein-figwheel (211)
- # luminus (3)
- # off-topic (52)
- # om (18)
- # onyx (49)
- # overtone (3)
- # pedestal (48)
- # protorepl (7)
- # rdf (2)
- # re-frame (61)
- # reagent (3)
- # timbre (2)
- # untangled (69)
Hmmm… I realize I could use tree->db
to pre-normalize the data.
Is anyone handling file uploads in an om.next app? Interested in hearing your strategies.
This is what my send function is starting to look like. I split the query into two separate requests so I can send uploads as multipart. @drcode @dzannotti I think this has similarities to how you are dealing with REST endpoints.
Is it reasonable to use just defui
and other rendering-related functionality from Om.next without the rest of it?
@stuartsierra I've done that myself in projects that didn't use queries
OK, thanks.
If I'm just rendering, do I have to use the Om.next reconciler?
@stuartsierra: depends. If you have global state you'll need to construct a reconciler with it
Well, in fact you could make do with passing just props to a Om Next factory, but your components wouldn't re-render. You'd need to set up a watch on an atom to re-render manually
What’s the best approach to consuming NPM packages for my Om.next-based clojurescript app? lein-npm? webpack (idk how this works)? npm is a tire-tire afaict.
also, I don’t suppose there’s a way to rope npm deps into a clojurescript closure compiler advanced compile.
OK thanks anmonteiro
@solussd use Webpack to create a UMD module that you include via :foreign-libs
compiler option
@anmonteiro cool- any example projects/blog posts you’d recommend?
I should probably figure out this webpack thing, regardless. 🙂
@solussd I think this webpack config would work: https://groups.google.com/d/msg/clojurescript/mqQNcT4lHss/YjUr4SR9DgAJ
I think I found that whole mailing list thread useful