mirror of https://github.com/status-im/reagent.git
3c2c63402e
Previously, the first argument had to be a map, and the rest of the arguments where passed as a vector as the second argument. Now [my-comp foo...] generally behaves as (my-comp foo...). Since `this` is no longer passed to component functions, add current-component function. Also change signatures of React callbacks, to reflect that arbitrary arguments can be passed. Remove set-props and replace-props for the same reason. Add argv accessor and set-args instead. |
||
---|---|---|
.. | ||
runtests.cljs | ||
simpletest.cljs | ||
testcloact.cljs | ||
testratom.cljs |