So I find myself calling:
setCurrentWorkout(
produce(currentWorkout, (draft) => {
draft.name = e.currentTarget.value;
}),
)
all over the code base. So I was thinking whether I should create a class with methods like .setName so that I can simplify data manipulation.