Fork me on GitHub
#announcements
<
2019-07-29
>
robertkrahn13:07:24

suitable provides "IntelliSense" for ClojureScript / JavaScript interop by using the live runtime for method / property enumeration. Figwheel and CIDER are supported right now. https://github.com/rksm/clj-suitable

👍 56
🍾 32
❤️ 16
clj 16
🎉 16
richiardiandrea15:07:46

This is super! I have been thinking about it for such a long time now, thanks for the effort!

Karol Wójcik15:07:36

Would love to see the same thing for shadow-cljs as well 🙂 Good job @U08LZDL1H

robertkrahn16:07:24

Thank you 🙂 Haven't worked with shadow-cljs yet but will take a look.

valtteri17:07:12

I just gave it a spin and it works like magic in Emacs. Excellent work! 🎉

👍 8
fmnoise21:07:11

great job! does it require figwheel main to be used together with cider?

robertkrahn23:07:40

@U4BEW7F61 No, this should run in other repls as well. I tested it on nashorn and with weasel. All it needs for use with cider is that the cider-completion and piggieback middlewares are there - which is the default.

Ahmed Hassan14:08:34

Would it work if I do cider-connect-cljs?

chrisn19:07:56

We published a blog post about one specific but important tactic I used when writing libpython-clj in order to allow python to call clojure functions. I don't think this is necessary knowledge to use panthera or libpython-clj but it is a key piece to building a new binding to a C system elsewhere and just a good general piece of knowledge about how certain things work in the C world: http://techascent.com/blog/functions-across-languages.html Also, libpython-clj, the underlying tech stack, and Alan Marazzi's Panthera all have new versions out. Enjoy 🙂

8
👏 4
athomasoriginal22:07:50

I dug into Reagent Components and wrote about my journey to understanding what happens to them by the time they get to React https://betweentwoparens.com/what-the-reagent-component

👏 28
👍 12
athomasoriginal22:07:19

Input is very welcome :hugging_face:

dominicm12:07:28

this is fantastic

🙏 4
Noah Bogart17:08:31

> They are not a formal syntax in the language wich you can just look up.

Noah Bogart17:08:27

this is a fantastic article

🙏 4
euccastro09:08:09

it's nice, thanks! I have little JS background and I can't see where you explain why things are being done like that instead of in the traditional 'pseudoclassical instantiation pattern'

athomasoriginal20:08:51

That’s a good point. The reason I did not specifically address that is because my answer would be based on inference rather than providing the actual reason as to why the Reagent team went the route they did. I actually went so far as to replace the create-class implementation with the traditional pseudoclassical instantiation pattern I specified in the blog post and Reagent seemed to continue to work as is and the tests continued to pass 🤷 So based on this the best I can do is say: maybe there was/is a technical reason (google closure compiler related?)? or perhaps their implementation just worked so they went with it? Either way, I will address this in the footnotes.