You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to avoid having to refetch ALL data and rebuild a table after a <Button>/<Popover> component makes a PUT/POST request to the api. Currently the custom <Button>/<Popover> component is being built from a useColumns hook that all rows/subRows are sent to build accordingly. Instead of having to essentially refetch the updated data and rerendering the table, is there a way to just update the subRow data with the data returned from the successful PUT/POST request?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to avoid having to refetch ALL data and rebuild a table after a
<Button>
/<Popover>
component makes aPUT
/POST
request to the api. Currently the custom<Button>
/<Popover>
component is being built from auseColumns
hook that all rows/subRows are sent to build accordingly. Instead of having to essentially refetch the updated data and rerendering the table, is there a way to just update the subRow data with the data returned from the successfulPUT
/POST
request?Beta Was this translation helpful? Give feedback.
All reactions