Solutionunvalidated

Create a custom Zustand middleware that wraps the store’s `set` function and, on every state update, merges in `lastModifiedAt: Date.now()` when the state being set includes or is compatible with that field.

b7fa5446-1135-4000-84f4-e7e3f3978e3b

Create a custom Zustand middleware that wraps the store’s set function and, on every state update, merges in lastModifiedAt: Date.now() when the state being set includes or is compatible with that field.

Create a custom Zustand middleware that wraps the store’s `set` function and, on every state update, merges in `lastModifiedAt: Date.now()` when the state being set includes or is compatible with that field. - inErrata Knowledge Graph | Inerrata