This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-27
Channels
- # adventofcode (1)
- # announcements (4)
- # beginners (120)
- # calva (5)
- # cider (12)
- # clara (3)
- # cljdoc (48)
- # cljs-dev (33)
- # cljsrn (4)
- # clojure (124)
- # clojure-dev (43)
- # clojure-europe (2)
- # clojure-italy (168)
- # clojure-nl (2)
- # clojure-spec (7)
- # clojure-uk (79)
- # clojurescript (50)
- # core-logic (6)
- # cursive (12)
- # datascript (1)
- # datomic (8)
- # devcards (2)
- # emacs (5)
- # events (2)
- # figwheel-main (6)
- # fulcro (18)
- # graphql (42)
- # hyperfiddle (3)
- # jobs (1)
- # luminus (2)
- # nrepl (5)
- # off-topic (59)
- # onyx (5)
- # parinfer (2)
- # pathom (10)
- # pedestal (2)
- # portkey (3)
- # re-frame (24)
- # reagent (6)
- # reitit (54)
- # remote-jobs (1)
- # ring (5)
- # shadow-cljs (75)
- # spacemacs (35)
- # sql (22)
- # tools-deps (16)
- # unrepl (10)
my biggest pain-point around ClojureScript server side for a while has been tooling - having said that we have been running ClojureScript Azure functions for about 6 months now - mvp stage - using shadow-cljs
and we are really really happy with the workflow
so I would say that shadow solved all our problems with npm
deps that were not working
and this is mostly because I prefer to use shadow over webpack
, which would probably achieve the same result with the vanilla compiler
so it also boils down to a personal tooling choice
@jesse.wertheim hyperfiddle is serverless (because datomic cloud is serverless)! it doesn’t have to be more complicated, but new idioms take time. immutable database is one missing thing from most serverless stacks
but for more general applications I think right now it's got a bit of that aforementioned "easy isn't simple" trap going on
so yeah I guess it's not the technology itself that gives me pause so much as the marketing and rapid adoption regardless of usecase
I am new to ClojureScript. I would like to embed video (Youtube) to the hybrid mobile app using ClojureScript and React Native. I have tried to implement react-native-video and react-native-youtube plugins in ClojureScript for achieving this. But, both of these didn't work. I don't know whether there is something wrong with referring to the library or not. Using react-native-video: (def Video (js/require "react-native-video")) (def video-view (r/adapt-react-class (oget Video "default"))) The component reference: [video-view {:style {:position "absolute" :top 0 :bottom 0 :left 0 :right 0} :source {:uri "https://www.youtube.com/watch?v=M8Fn8SfXw3M"}}] There is no error. But, the component is not rendered on the page. I am using lein for compiling ClojureScript Re-Natal for building this ClojureScript-based React Native app. Is there anything wrong with the above code? Anyone, please help?
Hello ClojureScript, do you know how to reduce generated js bundle size? I’ve tried various naive tricks -> https://github.com/piotr-yuxuan/shadow-cljs-wireframe/commits Finally I’ve open a issue on shadow-cljs but it’s not specific to it -> https://github.com/thheller/shadow-cljs/issues/412 Any input would be greatly appreciated.
how common are CSRF attacks? i'm tempted to just disable the CSRF protection
i'll put a note on my website 😉
it's actually really easy to access the token so .. nevermind ^.^
with something like cljs-ajax how should I pass the anti forgery token? i'm wondering what the special name is.
isn't there some way to define macros in cljs files, provided they're not defined in the same namespace they're used in? I though I recalled seeing that somewhere, but I can't find it again...
gotcha, gotcha. and do clj files have to live in different source directories, or are they allowed to coexist in the same package?
I tried the standard VSCode Google Chrome debugger, but the breakpoints are not triggering
is it common practice to initialize an atom as a js object? i.e. (def foo (atom #js{}))
I’m trying to set it to Stripe.js’ object after I have public key data. That seems to be working but referencing the object now doesn’t work. I.e. (.someMethod @foo)
@mateus.pimentel.w pretty sure someone needs to write support for that to work
Hi I have my clojurescript project being all cool and groovy and i'm trying to get the CSRF token into my app... so I'm loading it into the HTML of the page into a div, and using cljs to ask what's in the div. but, on repeated page dispensing the token does not change, although I suspect every page refresh actually makes a brand new token.
(moving my newbness to beginners )
Can people please throw out some css in cljs solutions that I may not have heard of? I want it to work with om/sablono and hiccup. I found shadow.markup
which looks like it would do the job.
Garden syntax, automatic class generation (optionally minified?), supporting media queries, keyframes, et al..
Thanks, not too familiar with emotion, I'll look into it. I was hoping to use garden syntax because there is a good chance I'll be playing with the css programatically.