When I define a configuration obj inside a func component, wrap the obj with a useMemo() that provided by React.
https://js.devexpress.com/Documentation/Guide/UI_Components/Popup/Getting_Started_with_Popup/