What you were expecting:
When updating a row using useUpdate hook inside a List, trigger onSuccess, stay on the same page and keep same query params
What happened instead:
After updating a row using useUpdate hook:
onSuccess didn't trigger and therefore I could not show a notify that it was updated successfully.Steps to reproduce:

Related code:
Since I can reproduce it in your own demo, I guess the related code is your AcceptButton and RejectButton
https://github.com/marmelab/react-admin/blob/master/examples/demo/src/reviews/AcceptButton.tsx
https://github.com/marmelab/react-admin/blob/master/examples/demo/src/reviews/RejectButton.tsx
Other information:
I kind of saw something similar to what I mention in the past:
https://github.com/marmelab/react-admin/issues/4902
It states that it was fixed so I don't know if indeed it is related or not.
Also, we are using the update feature as inline edit across our whole project so this is kind critical for us to be fixed as soon as possible.
Environment
Reproduced. Thanks for the report
Hey,
Any ETA for a fix here?
suffering from this as well, any update?
Hello @adylevy @lashover! Yes there's an update ;)
A PR is pending for review.
Most helpful comment
Hello @adylevy @lashover! Yes there's an update ;)
A PR is pending for review.
https://github.com/marmelab/react-admin/pull/5263