Hi,
I am creating a new widget in the product page (see screenshot)
The widget I am creating will be used to generate EAN codes for the variants of the product.
Updating the EAN code of the variants works perfectly.
However, the UI does not refetch the latest data after my update/mutation.
I saw in the source code that React query is heavily used in the Admin UI and that there are so many react-query hooks that I could use.
They already invalidate the correct queries after an update has happened.
Problem is that I can't seem to find a way to update my UI after my mutation.
Is there any way that I can access these internal hooks?
Right now I am reinventing the hot water and it feels cumbersome.