mirror of
https://github.com/status-im/reagent.git
synced 2025-01-10 20:06:28 +00:00
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.