Fork me on GitHub
#reagent
<
2018-03-27
>
miikka10:03:51

https://github.com/reagent-project/reagent/blob/master/src/reagent/impl/component.cljs#L102 .apply like this does not work with spec-instrumented functions and very large number of arguments in ClojureScript 1.10.238 anymore 😐

😱 4
pesterhazy18:03:51

@miikka that only happens when the function has >21 arguments, right?

juhoteperi18:03:15

Or maybe after >5 arguments, because Reagent only unrolls the first 5 arities

pesterhazy19:03:49

I guess it’s not so hard to hit the limit, as each child is an argument

miikka20:03:42

Yes, that's exactly how I hit the limit. My app has a dashboard with 21 widgets (plus one argument for options).