Closed connor-makowski closed 2 months ago
I noticed we have a lot of useCallback dispatch mutateLocal code in the app that could probably benefit from a unified function to simplify state modification in the app.
Thoughts on this?
This would need to be a custom hook, but I can see how something like useMutateState could be cleaner and pretty easy to implement.
useMutateState
I noticed we have a lot of useCallback dispatch mutateLocal code in the app that could probably benefit from a unified function to simplify state modification in the app.
Thoughts on this?