This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-08
Channels
- # announcements (6)
- # aws (1)
- # beginners (64)
- # boot (22)
- # calva (9)
- # cider (109)
- # clara (4)
- # cljs-dev (29)
- # clojure (112)
- # clojure-europe (2)
- # clojure-italy (6)
- # clojure-nl (3)
- # clojure-russia (215)
- # clojure-spec (80)
- # clojure-uk (13)
- # clojurescript (150)
- # code-reviews (3)
- # core-async (7)
- # cursive (37)
- # data-science (11)
- # datomic (76)
- # figwheel-main (6)
- # fulcro (56)
- # jobs (3)
- # jobs-discuss (22)
- # juxt (4)
- # off-topic (11)
- # pathom (16)
- # planck (5)
- # portkey (63)
- # re-frame (22)
- # reagent (3)
- # remote-jobs (1)
- # ring-swagger (5)
- # shadow-cljs (3)
- # testing (2)
- # tools-deps (6)
mutation/integrate-ident* doesn't work? in source code it has a {:pre [(map? state)]}, but we passed in this function is a atom, how does it work?
Use it with swap!
(defmutation foo [params]
(action [{:keys [state]}]
(swap! state integrate-ident* [:your-comp/by-id 42] :append [:bar/list 15 :comp-list])))
I see, thanks. I was consider using this way, but looks total different from original integrate-ident! function.
i am curious how to use the fulcro incubator library
i put [fulcrologic/fulcro-incubator "0.0.24"] in the project.clj file in the dependencies section
restarted the shadow-cljs and that did not work. is there another special sause thing i should do ?
ok .. i keep trying .. am not using deps.edn
interesting .. the error says
failed to require macro-ns "fulcro.incubator.pessimistic-mutations", it was required by "fulcro.incubator.pessimistic-mutations"
so it looks like the incubator is there ( jar file ) but require for pessimistic-mutaions is not working
in a file i required like this
[fulcro.incubator.io-progress :as ip]
and the compiler barfed with error i showed above
if i try to require [fulcro.incubator.pessimistic-mutations :as pm]
No namespace: fulcro.incubator.pessimistic-mutations found
after i add the require for the incubator in the project.clj file do i have to run lein install ( i tried it and it did not work ) anything else i should try ?
@dansudol can you try lein repl
and run (require 'fulcro.incubator.pessismistic-mutations)
and see what happens?
that is good idea btw
FileNotFoundException Could not locate fulcro/incubator/pessismistic_mutations__init.class or fulcro/incubator/pessismistic_mutations.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name
interestingly when i look at the external libraries in intellij ( using cursive ) i see tons of files ( naturally ) and there is a listing with "Leiningen: fulcrologic/fulcro:2.6.9" but i don't see the fulcro-incubator ( which is obvious ) because it is not there .. but how do i get it there is question
did you refresh the lein project? I was asking specifically to try on terminal because that will garantee the things are loaded
in Cursive you need to refresh lein projects when deps are changed, otherwise the classpath is not updated
I can confirm this version works because I have deployed apps using it, so its probably some small detail
how do i refresh lein project ( i did try lein install )
and i got you about cursive
restart of intellij now shows the incubator jar
use the lein bar to refresh the project
which means lein repl should have that jar
how odd
you can try deleting it from ~/.m2/repositories
and reinstall
ok i try that
its rare, but I've seen downloads get corrupted
I volunteered last week to amend the docs with a chapter on native apps. I’m so sorry I haven’t got to this yet. Current project is due end of the month and is really tight, so it will be a few more weeks before I realistically will have time. Just wanted to let you know I haven’t bailed on the offer, just delayed.
i’m also working with native at the moment, should have some bandwidth to collaborate on some docs if you like
maybe @wilkerlucio?
@patrickcms here you can find an example app: https://github.com/wilkerlucio/multi-timer
I've never heard about expo. Help me get this straight: with this I'll run this app directly in my phone? No need for android studio?
correct 👍
its super cool, you install their expo app on your phone and use it to scan a QR code generated on the terminal, and thats it, up running 🙂
I'm receiving this error as I try to start your app with yarn start
$ react-native-scripts start
/bin/sh: 1: react-native-scripts: not found
error Command failed with exit code 127.
info Visit for documentation about this command.
(I've never ran a react-native app nor anything with expo in this computer) Any ideas?
Finally made it work! Read your own fix from 18/02/2018 about the target folder error with shadow-cljs Plus updating expo to version 26, since 25 is no longer supported
cool, if you can send the fixes to make it run I'll be happy to take PR so when the next person uses this is a ref its in good shape 😉
I volunteered last week to amend the docs with a chapter on native apps. I’m so sorry I haven’t got to this yet. Current project is due end of the month and is really tight, so it will be a few more weeks before I realistically will have time. Just wanted to let you know I haven’t bailed on the offer, just delayed.