#re-rendering problem using useMutation
2 messages · Page 1 of 1 (latest)
Not sure I follow. If you call setState the component rerenders. That's how react works...
2 messages · Page 1 of 1 (latest)
here is the link of my sandbox example in which the component re-renders if we change any input.
onchange of input I update state of that field but I don't know why it re-renders
re-rendering can be seen in the console.
https://6fypr2.csb.app
Not sure I follow. If you call setState the component rerenders. That's how react works...