To better match React's hook's functionality, useEffect now takes in a list of triggers which will cause an effect to cleanup and re-trigger if it has been updated.
Luckily, this was a fairly easy and simple change. Included in the PR are integration and unit tests.
Summary
To better match React's hook's functionality, useEffect now takes in a list of
triggers
which will cause an effect to cleanup and re-trigger if it has been updated.Luckily, this was a fairly easy and simple change. Included in the PR are integration and unit tests.