This PR contains the easy fix for #49: It simply changes bind-fields to return form instead of (fn [] form), which, as a side-effect, also causes the form to be examined by reagent-forms every time the atom changes.
If you want a more complex fix, which retains the behaviour of Reagent Forms to only examine the form once, but still allow it to change (in a non-structural way, e.g. by adding [:option]s) later, please tell me, so I can revise this PR.
This PR contains the easy fix for #49: It simply changes
bind-fields
to returnform
instead of(fn [] form)
, which, as a side-effect, also causes the form to be examined by reagent-forms every time the atom changes.If you want a more complex fix, which retains the behaviour of Reagent Forms to only examine the form once, but still allow it to change (in a non-structural way, e.g. by adding
[:option]
s) later, please tell me, so I can revise this PR.Fixes: #49