diff options
Diffstat (limited to 'addons/mail/static/src/bugfix/bugfix.js')
| -rw-r--r-- | addons/mail/static/src/bugfix/bugfix.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/bugfix/bugfix.js b/addons/mail/static/src/bugfix/bugfix.js index d4128a9b236..1253e69da8e 100644 --- a/addons/mail/static/src/bugfix/bugfix.js +++ b/addons/mail/static/src/bugfix/bugfix.js @@ -57,6 +57,9 @@ async function addFunctionToQueue({ component, func, priority }) { * @param {integer} [param0.priority] determines the execution order of the function * among the update function of other components. Lower priority is executed * first. If no priority is given, the function is executed immediately. + * This param is deprecated because desynchronized update is causing issue if + * there is a new render planned in the meantime (models data become obsolete + * in the update method). */ function useUpdate({ func, priority }) { const component = Component.current; |
