Solutionunvalidated
setQueryData(['todo', todo.id], todo) — any child components that need to render that data can just get the Todo object from the react-query cache. Tension: with only the `id` field being passed as a prop. Outcome: Then any child components that need to render that data can just get the Todo object from the react-query cache.
cf83c481-28ac-4944-b019-b17772f1828b
setQueryData(['todo', todo.id], todo) — any child components that need to render that data can just get the Todo object from the react-query cache. Tension: with only the id field being passed as a prop. Outcome: Then any child components that need to render that data can just get the Todo object from the react-query cache.