m
Size: a a a
m
m
const store = createStore(false);
const foo = createEvent<History>();
const bar = createEvent<History>();
store.on(foo, (state) => !state);
store.on(bar, (state) => !state);
foo.watch((history) => history.push('/foo') )
bar.watch((history) => history.push('/bar') )
m
m
꧁岡
const store = createStore(false);
const foo = createEvent<History>();
const bar = createEvent<History>();
store.on(foo, (state) => !state);
store.on(bar, (state) => !state);
foo.watch((history) => history.push('/foo') )
bar.watch((history) => history.push('/bar') )
🚀🚀
🚀🚀
m
m
m
🚀🚀
🚀🚀
m
🦜
🚀🚀
m
ф
🦜
🦜
🦜