Make branchAll() and renderAll() on non-iterable types consistent with branch() and render()
No longer throw errors if branchAll() or renderAll() is called on a non-iterable form, instead returning an empty array.
Make returned forms from non-branchable types read-only
Fix docs that were incorrect at describing intended behaviour of branch() and render()
Define expected behaviour of branchAll() and renderAll(). As this was previously undefined behaviour according to the API this is regarded as a non-breaking change - and at this early stage its a very reasonable bet that nobody is relying on catching error messages from branchAll() and renderAll() for their apps to function
branchAll()
andrenderAll()
on non-iterable types consistent with branch() and render()branchAll()
orrenderAll()
is called on a non-iterable form, instead returning an empty array.branch()
andrender()
branchAll()
andrenderAll()
. As this was previously undefined behaviour according to the API this is regarded as a non-breaking change - and at this early stage its a very reasonable bet that nobody is relying on catching error messages frombranchAll()
andrenderAll()
for their apps to function