What Does Console Message: "Forced reflow while executing Javscript took 40ms" refer to?

Can anyone point me towards what may be causing this console message?

At the time I see it I am:

  • Updating a data store
  • Running a flow which updates some variables
  • Executing a server action which calls a Stripe API.



I am not an expert but i believe it is a warning which occurs when DOM is getting overloaded and your browser processes can not keep up with the rate at which changes are being sent to it from a Javascript process.

Browser overload basically

Try using Chrome’s profiler to try and pinpoint the issue.