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