🦜
Size: a a a
🦜
V
VI
🚀🚀
V
V
DO
🚀🚀
V
🦜
V
🚀🚀
V
🦜
V
V
export const $sidebarStore = appDomain.createStore(layoutInitState.sidebar);
$sidebarStore.watch(console.log);
export const toggleSidebar = appDomain.createEvent<boolean>();
$sidebarStore.on(toggleSidebar, (_, e) => e);
const isSidebarToggled = useStore($sidebarStore);
const toggler = useEvent(toggleSidebar);
<React.StrictMode>
<Provider value={fork(appDomain)}>
<SentryReact.ErrorBoundary>
<App pageProps={pageProps} Component={Component} router={router} />
</SentryReact.ErrorBoundary>
</Provider>
</React.StrictMode>
V

V

АШ
АШ