Closed
Description
option 1:
i can use usePostQueryById and then setState and then pass the state and setState to child as prop and so one and then save that state in useUpdatePost(state)
option 2 :
using updateQueryData to that endpoint and then get the last state of usePostQueryById and then useUpdatePost(state)
is there are another better way to partial update nested state cross multiple component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels