mirror of https://github.com/status-im/reagent.git
976d8ba4f6
Instead of passing an atom, you can now pass a function. That function is passed one argument (the path provided to cursor) when deref-ing, and two arguments (path and new value) when resetting. Remove the old setter, and the currying version. |
||
---|---|---|
.. | ||
runtests.cljs | ||
testcursor.cljs | ||
testinterop.cljs | ||
testratom.cljs | ||
testreagent.cljs | ||
testwrap.cljs |