OA
Size: a a a
OA
VI
DS
OA
VI
DS
yv
DS
OA
🚀🚀
yv
🚀🚀
🚀🚀
🚀🚀

🚀🚀
watchLastTwo(store, (next, prev) => {
if (prev === 'xxx') trigger(next)
})
function watchLastTwo(store, cb) {
return createStore({
next: store.getState(),
prev: store.getState(),
}).on(store, ({next: prev}, next) => ({next, prev}))
.watch(({next, prev}) => cb(next, prev))
}OA
OA
yv