figwheel-main

figwheel-main http://figwheel.org
E SKY BD 2020-08-21T06:19:34.016100Z

hello

2020-08-21T10:54:24.016800Z

@grumplet Thanks for this πŸ˜ƒ... I'll review it and see if I can get my setup working!

2020-08-21T10:55:44.017900Z

Actually just out of curiosity, is there any nice way to get devcards / normal figwheel-main to work together? For example only running devcards in a specific view or url?

2020-08-21T10:56:29.018700Z

Trying to make a reasonably elegant ui component lib for frontend focused people πŸ˜ƒ...

grumplet 2020-08-21T14:05:25.021200Z

@folcon I have not tried that, but it looks like devcards is fairly well decoupled from figwheel, so my guess would be β€˜yes’. See the note at https://github.com/bhauman/devcards/blob/master/src/devcards/core.cljs#L47

2020-08-21T16:29:02.023100Z

Yep, managed to get the basics working, now just trying to get the library that I built working as a dependency... currently failing to run via lein checkouts:

lein run -m figwheel.main -- --install-deps
Not sure why as it runs perfectly when run in the library project I just made:
Syntax error (ClassCastException) compiling at (/tmp/form-init15080874523965274762.clj:1:74).
class clojure.lang.PersistentHashSet cannot be cast to class java.lang.Comparable (clojure.lang.PersistentHashSet is in unnamed module of loader 'app'; <http://java.lang.Com|java.lang.Com>
parable is in module java.base of loader 'bootstrap')
I feel like either there's some part of writing a cljs lib that I'm missing? Both projects use figwheel-main, but I'm not sure that should cause an issue...

pez 2020-08-22T07:03:02.024500Z

That is awesome. Thanks!

grumplet 2020-08-22T07:46:30.027Z

Pushed a couple of edits

pez 2020-08-23T05:33:29.027500Z

I'd love me a PR. πŸ˜ƒ