This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-30
Channels
- # arachne (23)
- # bangalore-clj (2)
- # beginners (64)
- # boot (20)
- # cider (3)
- # clara (11)
- # cljs-dev (29)
- # cljsrn (10)
- # clojure (143)
- # clojure-brasil (4)
- # clojure-dev (22)
- # clojure-dusseldorf (3)
- # clojure-italy (26)
- # clojure-sanfrancisco (13)
- # clojure-seattle-old (2)
- # clojure-spec (15)
- # clojure-uk (27)
- # clojured (1)
- # clojurescript (52)
- # core-async (13)
- # cursive (2)
- # datomic (106)
- # fulcro (45)
- # garden (1)
- # graphql (11)
- # hoplon (98)
- # jobs (11)
- # juxt (7)
- # keechma (2)
- # leiningen (36)
- # off-topic (39)
- # parinfer (13)
- # re-frame (34)
- # reagent (5)
- # ring (1)
- # rum (4)
- # shadow-cljs (83)
- # sql (1)
- # timbre (1)
- # unrepl (49)
- # vim (1)
- # yada (42)
New form state management code (ALPHA) in being released (tests running first). The book has been updated to describe this new support: http://book.fulcrologic.com/#_form_state_support_a_id_formstate_a_alpha_version_2_1_4
you've spelled version as verstion in title
@tony.kay - On the semantic-ui-wrapper
README you wrote: “The NPM support in Clojurescript is not yet advanced enough to support using Semantic UI directly”. Is this still true? Can you possibly elaborate on what the problems are? I was thinking of testing out material-ui
(version 1.x-beta) via npm-deps
, but if there obvious issues I won’t even go down that road at the moment.
you can try using shadow-cljs
, you can start a new fulcro project already with that (there is a command line on lein new, I just dont remember exactly), with shadow-cljs you get much better npm packages support
thanks, shadow-build
had been on my radar before, maybe it’s time to have another look at it
i did a little thing that other people might find useful https://github.com/romnous/fulcro-datatable
@pithyless That comment is out of date, but may still be true. It doesn’t work with cljs proper, but it may in fact work fine with shadow-cljs.
The way the library is distributed, it doesn’t get detected properly…I don’t remember what goes wrong, but last time I tried it (which was on a very recent version of cljs proper) it did not work, even with some tinkering.
The wrappers I wrote, I more wrote to integrate the docstrings (which it can do from the generated docs of semantic ui react).
I don’t remember if I tried material ui…I’m pretty sure I got one of them to work “out of the box”. I know I tried a few login components (e.g. google/github/facebook) and most of those has a working version….but again, shadow-cljs support is so much improved over the standard cljs, that I would not waste my time even trying the standard cljs in a project if I wanted external npm deps.
cljsjs.material-ui
is one of the bad cljsjs deps since its bundle its own React version. so you have to be extra careful not to end up with 2 separate react versions on the page
Thanks for the heads up. I got a skeleton project running with the new lein
template for shadow-cljs
. I submitted a short PR of some issues I hit, but otherwise - excellent job with the docs @tony.kay 🙂
great…yeah, I don’t have the time right now to test everything to the nth degree, so I appreciate the help
@pithyless Those changes are up on clojars. Thanks!
getting
Error loading cider.nrepl.middleware.test: java.lang.RuntimeException: Invalid token: ::clojure.test/once-fixtures, compiling:(cider/nrepl/middleware/test.clj:98:57)
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cider.nrepl.middleware.test/wrap-test in this context
when running lein repl
on a fresh fulcro lein template projectI do not maintain the CIDER stuff…I just included what others suggested. Feel free to add needed dependencies/middleware
that works, but was trying lein repl
coz the prior has crappy command-line editing support for some reason
a bunch of middleware is injected into CIDER in order to get it to work with various things. If you remove that middleware, I’m guessing lein repl
will work.
remove it from where? (sorry picking up clojure after a long hiatus). FYI i didnt add anything to what lein new fulcro ....
generated