NF
Size: a a a
NF
NF
DS
m
DS
m
m
DS
DS
app-navigation -это фича?)m
app-navigation -это фича?)DS
NF
user-domain/Rule/Rule => domain/Rule/MessageDV
NF
user-domain/Rule/Rule => domain/Rule/Messagem
import { createEvent, createStore } from 'effector';
import { createBrowserHistory, Location } from 'history';
export const history = createBrowserHistory();
export const locationUpdated = createEvent<Location>();
export const $location = createStore<Location>(history.location);
export const $search = $location.map((x) => x.search);
history.listen((location) => {
locationUpdated(location);
});
$location.on(locationUpdated, (_, payload) => payload);m
m
DV
DS
DV