1.0.0 • Published 4 years ago
@tanyaisinmybed/effector-undo v1.0.0
effector-undo
Simple undo/redo functionality for effector
Example
import { createHistory } from "@tanyaisinmybed/effector-undo";
export const { undo, redo, clear } = createHistory({
store: counter,
limit: 10,
events: [inc, dec],
filter: (lastState, state) => state - lastState > 3,
debug: true
});
1.0.0
4 years ago
1.0.0-alpha.4
4 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
5 years ago
1.0.0-alpha.1
5 years ago
1.0.0-alpha.0
5 years ago