Warning: Cannot update a component from inside the function body of a different component

Hi dash team and guys,
I got this warning in the Chrome inspector when moving to version 1.13.0, my version was pretty old before. I basically wrote a function for layout with some params and update the layouts, then I got this warning. Can anyone help me with it?
Thanks much!