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

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! ๐ŸŽ‰

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 ๐Ÿ™‚

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

athomasoriginal22:07:19

Input is very welcome ๐Ÿค—

dominicm12:07:28

this is fantastic

NoahTheDuke17:08:31

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

NoahTheDuke17:08:27

this is a fantastic article

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 :shrug: 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.