Ulrich_Skl
Ulrich_Skl
NNovu
Created by Ulrich_Skl on 3/28/2024 in #💬│support
flushSync
Hello i was wondering if anyone of you came across this issue, i integrating this with my Angular app but i am getting this when trying to clear or close the popover: "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task." It is supposed to be "harmless" as it register as warning, however it looks more like a bug as the Dom object is not refreshed and create a cascading error in the widget wit ha bad request with Axios. Not sure how to avoid or fix the flushSync() error since it is in the react component. Any ideas or guidance will be greatly appreciated. Thank you.
10 replies