This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-11
Channels
- # aws (15)
- # beginners (55)
- # boot (116)
- # bristol-clojurians (2)
- # cider (4)
- # cljs-dev (439)
- # cljsrn (14)
- # clojure (135)
- # clojure-argentina (3)
- # clojure-czech (4)
- # clojure-italy (60)
- # clojure-russia (1)
- # clojure-spec (48)
- # clojure-uk (42)
- # clojurescript (170)
- # cloverage (11)
- # core-async (19)
- # cursive (13)
- # datomic (48)
- # emacs (2)
- # graphql (3)
- # hoplon (8)
- # jobs (1)
- # jobs-discuss (5)
- # klipse (11)
- # luminus (5)
- # lumo (5)
- # mount (48)
- # off-topic (96)
- # om (17)
- # onyx (14)
- # parinfer (30)
- # protorepl (1)
- # re-frame (90)
- # reagent (2)
- # remote-jobs (1)
- # spacemacs (12)
- # specter (20)
- # uncomplicate (1)
- # untangled (65)
- # vim (2)
- # yada (8)
Heya. Trying to import a React component, following this guide: ( http://blob.tomerweller.com/reagent-import-react-components-from-npm ). Got it to work (yay!), but I'm having a little trouble figuring out how to import a different React component from NPM. Trying to import this: https://github.com/rico345100/react-multimedia-capture Soo, it takes a LOT more arguments, and I'm not totally sure how to translate them (should the parts in {curly braces} be Keywords?). What I'd like to do is import the example here ( https://github.com/rico345100/react-multimedia-capture-example/blob/master/src/VideoExample.js ) and then just be able to call it. Buuut, I'm not sure how to do that with a component that's just defined in a local .js file instead of installed with NPM.
Got that react-webcam working in reagent. It's here - hope someone finds it useful! https://github.com/mattalhonte/reagent-webcam