Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improved state persistence logic by preventing redundant saves …
…when the state hasn't changed (#7) - Added `lastPersistedState` with type `S | undefined` to track the last persisted state. - Ensured `lastPersistedState` is reset to `undefined` during state restoration in `$restore`.
- Loading branch information