A minimalistic ClojureScript interface to React.js

@josh604 For (defn f [a b c]), calling (apply f ’(1 2)) will incur Execution error (ArityException)


However, in cljs, the exception won’t happen.

p-himik 2021-01-21T01:04:52.000100Z

As I said, that's because CLJS compiler does that check. The platform, which is JS, does not impose such a constraint on functions in runtime. CLJS does not check arities in runtime as well.

p-himik 2021-01-21T01:05:42.000300Z

This particular inconsistency between CLJ and CLJS, along with many others, is caused by the differences in the underlying platforms.