Before this commit Many of the usages of the "throttleForAnimation" util did not cancel the call to the throttled function when the using component is unmounted. After this commit A "useThrottleForAnimation" hook: - is introduced - is tested (as of the prior "useDebounced" hook which was not) - replace the "throttleForAnimation" usages. closes odoo/odoo#112913 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>